0.0.6 • Published 2 years ago

@dabbott/generate-icon-lib v0.0.6

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

@dabbott/generate-icon-lib

Forked from radix-ui/icons (MIT)

Usage

npx @dabbott/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>

Authentication with Figma

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