jswangtao-react-icon
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

Icon Automation Workflow Using Figma

It's a repository for Figma Icon Automation Plugin.

Development

Create a .env in the root directory. Put your Figma file url and Figma token inside.

FIGMA_FILE_URL=https://www.figma.com/file/********************/juuust-react-icon
FIGMA_TOKEN=********************************

fetch SVG file

Run yarn fetch to fetch SVG files from Figma file. This will pull your SVGs in ./src/svg/.

generate React components for icons

Run yarn generate to generate component files from SVG files. This will pull your component files in ./src/icons/.

Develop in local

Run yarn dev to develop the application in which you can see all icons.

Develop in local

Run yarn build to build Pages.

Package Sidebar

Install

npm i jswangtao-react-icon

Weekly Downloads

4

Version

0.0.3

License

MIT

Unpacked Size

24.9 kB

Total Files

8

Last publish

Collaborators

  • jswangtao