generate-icon-lib --file=<figma-file-key>
The figma-file-key
can be sourced from the link to a Figma document:
https://www.figma.com/file/<figma-file-key>
Go to your Account Settings in Figma to create a Personal Access Token.
This can be provided to generate-icon-lib
via the FIGMA_ACCESS_TOKEN
environment variable.
Create an .env
file an intended directory for easy reuse:
echo "FIGMA_ACCESS_TOKEN=<token>" >> packages/radix-icons/.env
- Support importing from Sketch
- Support importing from a directory of SVGs
- Allow the CLI to re-run on existing SVGs in a package ie. after changing the React component template
- Publish the
@modulz/generate-icon-lib
CLI Tool for public use
Licensed under the MIT License, Copyright © 2020-present Modulz.
See LICENSE for more information.