Figma Codegen — Design-to-Code for Your Design System
by Luma
Generate production-ready Angular, React, Vue, Svelte, HTML, Web Components and Astro code
PaidFigma
Installs
1
Likes
0
Users
8
Views
51
Preview
About this plugin
Figma Codegen — Product DescriptionTurn Figma designs into production-ready code across 10 export targets — using your existing design system, not a fresh reimplementation.Most "Figma to code" tools compete on how accurately they turn pixels into markup. Figma Codegen competes on a different question: how accurately can a Figma design map onto the components your team has already built? Given Button / Primary / Large in Figma and an existing AppButton in your codebase, you map the two once and the plugin reuses that mapping forever — generating instead of a parallel, duplicate .Feature listExport targets (10)Angular — standalone components, version-aware decorator (17–21), reactive forms with FormBuilder/Validators, optional signalsReact — function components (18/19, automatic JSX runtime), CSS Modules, forms via react-hook-formVue — Vue 3 Composition API SFCs ([removed]), ref()/computed() form state, scoped stylesSvelte — Svelte 5 runes ($state/$derived), native bind:value bindingsPlain HTML/CSS — a static, dependency-free document + stylesheet, drop-in anywhereWeb Components — vanilla custom elements with Shadow DOM, zero dependencies, real event wiringAstro — islands-architecture components, reuses the static-HTML markup engineJSON Component Spec — a structured, framework-agnostic export of the mapped design tree, built to feed a coding agentAgent Brief — the same data rendered as a Markdown prompt/summary for priming an AI coding assistantDesign Tokens — a standalone export (CSS variables, SCSS variables, and JSON) of just the design system's variables, independent of any componentComponent mappingMap any Figma component to its real counterpart in your codebase once; every future generation reuses itProperty mapping with transforms: direct passthrough, value maps, enums, booleansAuto-detection pre-populates draft mappings the moment a scan finishesEnable/disable individual mappings per generation without deleting themImport/export mapping configs as JSON for sharing across a teamBuilt-in library presets: Angular Material, PrimeNG, Bootstrap (Angular), MUI (React) — Bootstrap's native-tag mappings also work across HTML, Vue, Svelte, Web Components, and AstroDesign tokensMap Figma variables to CSS custom properties, SCSS variables, or hardcoded values, per-variable or globallyAutomatic token resolution wherever a mapped value references a variable (colors, radii, spacing)Generation qualityReactive form detection — automatically finds ≥2 mapped inputs + a button in one container and generates real form state, validation, and a submit handler stub, translated to each framework's own idiomAccessibility — alt text placeholders + TODOs on images, inferred roles for unmapped interactive-looking elements, warnings when an input has no mapped labelResponsive CSS — Auto Layout translates to flexbox, with an optional @media pass for narrow layoutsDesign-system match score — a live percentage showing how well the current selection already aligns with your mapped components, plus itemized drift issues (unmapped components, out-of-range variants, unmapped variables)Fallback markup — unmapped components render clearly-commented placeholder tags instead of silently guessingGenerated tests — creation + form-validity tests for every framework that supports themWorkflowSix-screen panel: Generate, Components, Mappings, Tokens, Preview, SettingsScope control: current selection, current frame, current page, multiple frames, or the entire fileLive progress + a custom minimize control for long scansIn-panel code preview with syntax highlighting, per-file download, or a full ZIP exportSettings persist as defaults across sessionsDesignVibrant, 3D-styled sidebar UI — six nav screens, each with its own colored gradient icon tile (violet/blue/teal/orange/pink/slate), glassy highlights, and colored glow shadowsGradient-accented branding and consistent glass-card/pill-button visual language throughout
More software development plugins
View allBuilder.io - Figma to Code & AI Apps (React, Vue, Tailwind, etc)
by Steve Sewell
Export designs to clean, responsive code or turn Figma screens into AI apps and prototypes.
410.3K 23.4K
Anima: Convert Figma to HTML/CSS/React/Tailwind,Vibe code,DevMode Inspect/Run React/HTML,App builder
by Anima
Anima - AI Design to code, Vibe code, Vibe design
400.6K 17.8K
SkewDat
Paidby Unfold
Skew any layer or group with all layers preserved to edit.
276K 7.3K
Zeplin
Paidby Zeplin Crew
Design tools are for designing. Zeplin is for clear, structured design delivery.
183.3K 2.9K