Skip to content

feat: add icon selector dropdown to Badge stories#17

Merged
garrity-miepub merged 1 commit intomainfrom
feature/badge-update-fix
Jan 28, 2026
Merged

feat: add icon selector dropdown to Badge stories#17
garrity-miepub merged 1 commit intomainfrom
feature/badge-update-fix

Conversation

@garrity-miepub
Copy link
Copy Markdown
Contributor

  • Add Lucide icon imports from shared Icons component
  • Create iconMap registry for Storybook dropdown control
  • Add iconName argType with selectable icon options
  • Replace inline SVG with proper icon component in WithIcon story
  • Add custom render function to convert iconName to icon element

Improves DX by allowing icon preview directly in Storybook controls.

badge.mov

@garrity-miepub garrity-miepub marked this pull request as ready for review January 28, 2026 02:47
@garrity-miepub garrity-miepub merged commit 49c59a4 into main Jan 28, 2026
4 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant