IconButton name lookup does not work for all icons
Open
bug
- Dominant language
- JavaScript
- Stars
- 193
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
When using the `IconButton` component, not all lookup names work as expected.
For example,
```
```
points to an SVG called `"dropdown-caret-down"` but the SVG in the bundle is named `"dropdown-caret-down-16"`
The result is a console warning and no icon rendered.
Contributor guide
Research direction
Start by tracing the IconButton name lookup and comparing names.DROPDOWN_CARET_DOWN with the bundled SVG name "dropdown-caret-down-16". Verify the lookup for all affected icons and confirm that the example renders without a console warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100