Icons

This library contains the icons used in Chromatic and Storybook.

Install

yarn add @chromaui/tetra

To Do

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

Generating new icons from Figma

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

yarn 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

GitHub

View Github