Which export to use
| Export | When to use it | Plans |
|---|---|---|
| Claude Code or Cursor prompt | To have the agent build the app, screen by screen | Pro and Studio |
| React and Tailwind | If your app is in React: components ready to wire up | Pro and Studio |
| HTML and CSS | For a website, or as an exact visual reference for the agent | All |
| PNG images | To compare the agent’s output with the design, screen by screen | All |
The steps
Export
Export the prompt, the screen code (React or HTML) and the PNG images. Put them in a
design/folder at the root of your project.Open the project in your agent
Claude Code in the project’s terminal, or Cursor in the editor. Both can read the
design/folder.Start with the system
Have it set up the direction’s colors, fonts, sizes and spacing as variables first, without adding any. They are the same on every screen.
Then the shared components
Buttons, cards, inputs, tab bar: once, before any screen.
One screen at a time
In the order of the user flow. After each screen, compare the result with that screen’s PNG.
Wire up the rest
Screen content is realistic but made up: replace it with your data, then add navigation and logic.
An example request for the agent
The app design is in design/ (screen code and PNG captures).
1. Set up the design’s colors, fonts, sizes and spacing as variables. Do not add any new value.
2. Create the shared components: button, card, input, tab bar.
3. Build the Home screen, and only that one. Compare your result with design/home.png.
Do not change colors, fonts or spacing.The prompt exported by Sketch It already describes the screens and their rules; this example only shows the order that works best.
Pitfalls to avoid
- Asking for everything at once: ten screens in one request means ten chances to drift from the design. One screen per request.
- Letting the agent “improve” the design: tell it not to add colors, fonts or effects.
- Forgetting the placeholder content: prices, names and dates on the screens are examples to replace before launch.
- Skipping the comparison: a PNG next to the output shows a drifted margin or size in a second.
What about a native app?
Sketch It exports are web-based (HTML and React). For a native app, give the agent the captures and the prompt, and ask it to adapt the screens to your framework (React Native or SwiftUI, for example). Check every screen against its capture: the adaptation is done by the agent, not by Sketch It.











