# Turn a design into code (/products/design/design-to-code)

When a screen is ready, you don't need to write it up. Select the frame and press **Build this**: the Lead gets an issue in Track with a picture of the frame, its code and your design tokens, and builds it into your project's app.

[Video: Select Task detail and press Build this](/clips/design/design-to-code.mp4)

## Build a frame [#build-a-frame]

Select a screen: a frame at the top level of the page, such as _Task detail_.

Press **Build this** just above the frame. It creates an issue, _Build Task detail_, in the project's Track and delegates it to the Lead.

A chip on the frame follows the work: **Queued**, **Working**, **In review**, then **Done** (or **Needs attention** if the Lead is stuck, or **Canceled**). Click it to open the issue.

When there's something to look at, **Open preview** next to the chip opens the running app. Review the work like any other piece of agent work: see [Delegate issues to agents](/products/track/delegate-issues-to-agents).


While a frame's build is still open, pressing **Build this** on it again doesn't make a second issue.

**Copy link**, next to **Build this**, copies a link straight to the frame, for a chat, an issue or a page.

## Before you build [#before-you-build]

- **Name the layers.** _Due date_, _Mark as done_ and _Tab bar_ become the names in the code, and the Lead reads them.
- **Use auto layout.** A frame laid out with auto layout comes out as rows and columns that resize properly, rather than things placed by position.
- **Use variables for colours and sizes.** They're sent with the frame as your design tokens, so the build uses the same names as your code. [Sync with code](/products/design/libraries#keep-a-library-in-step-with-code) keeps the two in step.

**Build this** needs a file that belongs to a project. For a draft, use **Move to…** on the home screen first.

## Hand it to a person instead [#hand-it-to-a-person-instead]

For someone building by hand, mark the frame **ready for dev** and let them inspect it in [Dev mode](/products/design/dev-mode).

Next: [Dev mode](/products/design/dev-mode).
