# Bring a coded page into Figma

Translates an app page, view, or multi-section layout from code into Figma. Triggers on 'push this to Figma', 'create in Figma from code', 'build a landing page in Figma'.

Curated by The Design Project. Adapted from the original skills repo.

## How TDP uses it

When I want a Figma version of something I've already built in code. I point the agent at the page and say 'push this to Figma' — it lays out the screen using my design system. Saves the round-trip of recreating a design that already exists.

Activation and available tools depend on the host and installed version.

## Your first task

Bring: A working page URL or local preview, target Figma file, and the intended viewport.

Task: Import one representative screen, then reconcile its layers and styles with your design system.

Check: Check editable text, responsive hierarchy, missing assets, and whether components remain reusable.

## When to use this workflow

Use this resource when you need a working interface represented in Figma for design review or further editing. Establish which page, viewport, state, and destination are in scope. A default screenshot of a page does not represent every responsive layout, theme, or interaction state.

## A worked example

For a settings-screen exercise, open the intended state in the running product and import that bounded screen. Inspect the result as a design artifact: can text be edited, do related elements remain grouped sensibly, and do the styles connect to the intended system? Compare a long field label and an error message with the original page rather than judging only the tidy default state.

## Decisions and common mistakes

A visually convincing import can still be difficult to maintain. Watch for duplicated styles, flattened content, missing assets, and layers that do not behave usefully when resized. Record these as reconciliation work. Do not describe the result as a synchronized component library unless your actual integration and maintenance process establish that behavior.

## What to hand off

Hand off the source page, captured state, destination frame, and known limitations. Decide which elements should become reusable components and which remain one-off page content. Review any changes made in Figma before treating them as requirements for the implementation.

## Step-by-step setup

1. Choose one task, provide the relevant files or brief, and define the expected output.
2. Review the source and prerequisites; install the skill or open the original resource.
3. Apply it with current project context.
4. Review the result against the actual requirements.
5. Save approved outputs and record limitations.

```bash
npx skills add thedesignproject/agent-skills -s figma-generate-design
```

[Full skill source](https://github.com/thedesignproject/agent-skills/tree/main/skills/figma-generate-design)

## Starter request

Translate this existing page into a Figma frame using our documented tokens. Preserve content, hierarchy, component states, and responsive intent; list any conversion limits.

## Use it in a workflow

### Code to Figma

You already built the page in code and want a Figma version without recreating it by hand.

1. [Use the Figma MCP](https://designproject.io/resources/skills/figma-use/) — Load as prereq before any Figma MCP call
2. [Bring a coded page into Figma](https://designproject.io/resources/skills/figma-generate-design/) — Translate the code page into a Figma frame using your design system

[Browse all agent skills](https://designproject.io/resources/skills/)

[Original TDP skills repo](https://designproject.io/skills-repo/)

Canonical: https://designproject.io/resources/skills/figma-generate-design/

## Keep learning

- [Use the Figma MCP](https://designproject.io/resources/skills/figma-use/)
- [Figma to Storybook playbook](https://designproject.io/resources/skills/figma-to-storybook-guide/)
- [A design-to-code workflow: from requirements to review](https://designproject.io/resources/guides/design-to-code-workflow/)
