Skip to content

tokens-studio/icons

Repository files navigation

Tokens Studio: Icon library

This package contains our internal icon library used in our projects.

Icons are pulled from a Figma document and converted to React components using svgr.

Right now we manually export the icons to the assets folder.

If you need to build icons, run npm run regenerate.

Notes

We're using iconoir as our base icons, and are extending them with custom icons.

How to update icons

If there's new icons you'd like to add, add them to the Figma document first (page: Custom).

Then, download that icon (or the changed icon) into the assets folder

After that you should be good and can just commit those changes to a new branch, don't forget to add a changeset. Once the PR is merged in, the changeset-bot should automatically create a release PR, which upon merge releases a new version.