This skill converts Figma designs to production-ready React components with Tailwind CSS, generating TSX files and assets from a provided Figma URL.
npx playbooks add skill vibeflowing-inc/vibe_figma --skill vibefigma
Convert Figma designs into React components with Tailwind CSS using the vibefigma CLI.
npx vibefigma --interactive
Prompts for Figma URL, access token, and output paths.
npx vibefigma "https://www.figma.com/design/FILE_ID?node-id=X-Y" --token FIGMA_TOKEN
export FIGMA_TOKEN=your_token
npx vibefigma "https://www.figma.com/design/FILE_ID?node-id=X-Y"
The user can add their Figma access token to a .env file in their project root:
FIGMA_TOKEN=your_token_here
Then run:
npx vibefigma "https://www.figma.com/design/FILE_ID?node-id=X-Y"
Note: If the token is not configured, vibefigma will throw an error. Only then inform the user about the token requirement.
| Option | Description |
|--------|-------------|
| -t, --token <token> | Figma access token |
| -c, --component <path> | Output path (default: ./src/components/[Name].tsx) |
| -a, --assets <dir> | Assets directory (default: ./public) |
| -f, --force | Overwrite existing files without confirmation |
| --no-tailwind | Generate regular CSS instead |
.env file or pass via --token flag./src/components/[Name].tsx or user-specified path)--force flagnpx vibefigma "<URL>" -c <output-path> (add --force if overwriting confirmed)references/responsive-cleanup.md for making code responsive and production-readyVibeFigma generates:
.tsx) with Tailwind CSS classesreferences/responsive-cleanup.md for responsive design patternsWeekly roundup of top Claude Code skills, MCP servers, and AI coding tips.