CLI tool to generate code from Figma files.
git clone cd figma-codegen npm install npm run build npm link
Set FIGMA_TOKEN env. figma-codegen --reactstyle
generate figma_url https://figma.com/file/KEY/Name
For Next.js: cd output/generated-app && npm i && npm run dev
All listed: CANVAS, FRAME, etc.
npm test