Skip to content

Ship it into the codebase

How do I get a design into my codebase without a handoff document? Two routes. Your coding agent reads the canvas directly over a local MCP server, or you export the selection as HTML, React JSX, SVG, PDF or CSS. Most people use both.

An agent turning a design into code
Hand the design to your agent, in your stack.

How does my agent read the design?

Connect it once, then the prompt is the handoff. Claude Code, Cursor, Codex, Copilot, Windsurf and Antigravity connect with one toggle, and canvas work is unlimited on every plan. See Connect your agent.

Build the settings panel from the Dashboard canvas in our React components. Match the spacing and type.

This route adapts to your stack: the agent knows your repo, so it writes your components. It runs the other way too: a component you changed in code can land back on the canvas.

Which export should I use?

Pick by what you want to hold. The Export panel, and the right-click Export as and Copy as menus, cover all of these.

You wantTake
Markup to adaptHTML: snippet, full document or flex
A component for a .tsx fileReact (JSX)
Icons and illustrationsSVG
Just the valuesCSS properties
The design itselfBlueprint, pasteable back into Brilliant or into an AI tool

Cmd+E exports a PNG for a ticket or a thread, and the + in the Export panel header adds another row, so several formats ship in one click.

A design exported as code
From the canvas to code you can keep.

How do tokens reach my code?

Brilliant writes Styles/.gen/default.gen.yaml on every save, expanded to concrete values. Style Dictionary, Tokens Studio plugins and build scripts read that file. See Design system overview.

Can design changes go through code review?

Yes. A .bl file is plain, deterministic text: branch it, diff it, comment in a pull request, and git blame the line where a color drifted. A published project is also a git repository you can clone.

A design beside the Blueprint text that describes it
The canvas and the Blueprint text are the same design.

Common questions

Is exported code production ready?

It is a starting point to adapt: it carries the look, and your app keeps its state, routing and data. For code in your own components, use your agent.

Can my agent build a real prototype?

Yes. It reads the canvas and builds the flow in your stack.

Where next?