| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Fast, flexible Figma-to-code conversion. Private by design.
Generate editable HTML, React, Svelte, Tailwind, Flutter, and SwiftUI from a Figma selection—without an account, generation credits, or design uploads.
Install the free plugin · Explore the website
Figma to Code is for the moment between a visual design and a real implementation. Select a frame, component, or smaller group of layers and get a readable visual scaffold that you can copy, refine, or download as a starter project.
The generator is deterministic and runs inside Figma's plugin sandbox. It does not call an AI model, inspect a repository, or send the selection to another service. That makes it useful for quick handoffs as well as teams where external design processing is not allowed.
| Target | Available output modes |
|---|---|
| HTML | HTML, React (JSX), Svelte, styled-components |
| Tailwind CSS | HTML, React (JSX), Twig; supports Tailwind 3 and Tailwind 4 |
| Flutter | Full app, stateless widget, or snippet |
| SwiftUI | Preview, View struct, or snippet |
The plugin can also package generated code and local image assets into downloadable starters:
These exports are deliberately small and dependency-light. They are starting points, not generated production applications.
Options appear only when they apply to the selected target:
The interface also includes a visual preview, light and dark preview backgrounds, conversion warnings, extracted colors and gradients, code copying, and project downloads.
Smaller selections usually create better component boundaries. Instead of converting an entire page at once, try generating one reusable section or control and integrate it into your application yourself.
The repository-level manifest.json is the configuration Figma uses for the published plugin. It contains the following enforceable boundary:
{
"permissions": [],
"networkAccess": {
"allowedDomains": ["none"]
}
}The selected nodes are read through Figma's Plugin API, normalized in memory, converted by framework-specific TypeScript code, and returned to the plugin interface. There is no telemetry, design upload, external model, or separate user account.
This claim is intentionally narrow: Figma itself is a connected product and handles your files according to your Figma plan and policies. This plugin does not add another network destination for the selected design data. See the privacy architecture for more detail.
A Figma document describes visual structure; it does not contain the full intent of an application. Treat the result as editable starter code and review it before shipping.
When a detail cannot translate cleanly, the plugin reports a warning rather than pretending the result is exact.
The generator behaves more like a small compiler than a screenshot-to-code service:
Because the rules are public TypeScript, the conversion can be inspected, tested, and improved without depending on a hosted API.
Install the workspace from the repository root:
pnpm installRun the plugin watchers and the product website together:
pnpm devThe website will be available at http://localhost:3000. To work only on the Figma plugin:
pnpm --filter plugin devThen open Figma and use Plugins → Development → Import plugin from manifest, selecting this repository's manifest.json.
pnpm build # Build every package and app
pnpm lint # Run Oxlint
pnpm test # Run the automated tests
pnpm format # Format with Oxfmt
pnpm format:check # Check formatting without writing| Path | Purpose |
|---|---|
| packages/backend | Figma node processing, intermediate representation, code generators, and project exports |
| packages/plugin-ui | Shared React interface used by the plugin and interactive website demo |
| packages/types | Shared settings, message, preview, and output types |
| packages/tsconfig | Shared TypeScript configuration |
| apps/plugin | Figma controller and UI entry points; builds code.js and index.html |
| apps/web | Public website, interactive preview, privacy page, and comparison guides |
Focused pull requests, new fixtures, and improvements to existing generators are welcome.
If generated output is incorrect, a small reproducible Figma selection and the target/options used are especially helpful.
| Back | FazBrowse Home | New Git URL |