Generate React components from multiple Figma design links sequentially using Figma MCP. Use when given a list of Figma links to convert to components.
Generate React components from a list of Figma design links using Figma MCP.
background, border, text, etc.) defined in tailwind.config.js.tailwind.config.js (e.g., text-display-lg, text-heading-md, text-body-sm, etc.) for typography styling.src/components/ui directory.src/components wherever possible to maintain consistency.src/components/icons folder.import { GoogleIcon, MailIcon } from "@/components/icons";).src/components/icons folder, then run:
node scripts/update-icons.js && node scripts/generate-icons.js
update-icons.js: normalizes SVGs (width/height → 1em, single-color fill/stroke → currentColor)generate-icons.js: auto-generates index.tsx barrel exports from all .svg filessrc/components/icons/index.tsx — always use the script.For each Figma link:
components/[category]/[ComponentName].tsx).