Autodesk / Autodesk/hig

<IconButton> should support 'size'

Open
#812 1 comment 0 reactions 0 assignees View on GitHub
community
Dominant language
JavaScript
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

#### Issue:
- Using an ``, for example in an ``, it would be good to be able to add the `size` attribute in the same way we can when using an `` object.

#### Example:
```javascript
{/* React.JS based, these two lines have the same output */}




{/* These two lines have the desired output of the above */}

```

#### Expected result:
- Support small sized icons

Contributor guide

Open the contributing guide

Research direction

Start by locating the IconButton and Icon components, then compare how the size attribute is handled for each within the ActionBarGroup example. Done means IconButton accepts a size value and produces the expected small icon output described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.