Skip to content

Library of icons used in apps and marketing sites

License

Notifications You must be signed in to change notification settings

storybookjs/icons

Repository files navigation

Icons

This library contains the icons used in Storybook and Chromatic apps and marketing sites. They are 14x14. To view the list of all available icons please go to https://main--64b56e737c0aeefed9d5e675.chromatic.com/

Install

yarn add @storybook/icons

To Do

  • Export every single icons instead of a single component
  • Add stories for each components

Generating new icons from Figma

This command will fetch all icons from Figma locally and create react components + stories automatically

yarn generate-icons

Inpired from this article.

Developing

Watch and rebuild code with tsup and runs Storybook to preview your UI during development.

yarn storybook

Building

Build package with tsup for production.

yarn build