Skip to main content
Take your design out of Wonder: copy a layer straight to the clipboard, or save it as a file. Everything on this page works for viewers too. Before you start · Web and desktop · Free plan

Copy a layer

Select a layer, right-click it and open Copy as: On Windows, use Ctrl for ⌘ and Alt for ⌥. Copy as code and Copy as PNG work on one layer at a time. Copy prompt works on several. You can also run each of these from the command palette (⌘K).

Copy a prompt for your coding agent

Copy prompt gives a coding agent such as Claude Code or Codex what it needs to build your selection in your code:
  • a reference to each selected layer, which the agent opens through Wonder MCP;
  • the Wonder MCP address, and a link to its docs if the agent isn’t connected yet;
  • a snapshot of the layers’ code.
Paste it into your agent’s chat. When the selection is large, the prompt leaves the snapshot out and asks the agent to read the design over Wonder MCP instead. To build a design in a repository you’ve added to Wonder, you don’t need to copy anything. See Apply a design to your code. Select one layer, right-click it and choose Copy link to selection. The link opens the file on that page, with the layer selected and in view, for anyone who can open the file.

Export layers

The Export section sits at the bottom of the Properties panel whenever something is selected.
The Export section: the file name Card, the size 2x, the format PNG and the Export as PNG buttonThe Export section: the file name Card, the size 2x, the format PNG and the Export as PNG button
  1. Select one or more layers.
  2. In Export, click +.
  3. Pick a format and a size.
  4. Click Export as PNG (the button names the format you picked).
To stop exporting a layer, click −. With one layer selected, the file is named after the layer. Change it in the Filename field. With several layers, each layer becomes its own file, named after the layer, and they’re saved together as export.zip. In the desktop app, and in browsers that support it, Wonder asks where to save the file and remembers the folder for next time. Otherwise the file downloads.

Formats and sizes

PNG at 2x is the default. Each export uses one format and size; to get another, change them and export again.

Export as code

Choose Code to save the selection as a .tsx file:
  • Tailwind writes React with Tailwind classes, the same code as Copy as code.
  • CSS writes React with inline styles.
Tick Include font files to add the selection’s font files. Wonder asks you to confirm your font license allows you to share them. The code and the fonts are then saved together as a zip.

Export from the command palette

Press ⌘K and run Export as PNG or Export as SVG to save the selection without opening the Export section. Export as SVG skips layers that aren’t SVGs.

What viewers can copy and export

If you can only view a file, you can still:
  • copy layers as code, as a PNG or as a prompt, and copy their styles and a link to them;
  • export from the Export section and the command palette.
You can’t paste into the file.

If something goes wrong

”Exported 3/5 elements”

Some layers couldn’t be saved. In a browser, this reads Downloading 3/5 elements…. If you used Export as SVG, the missing layers aren’t SVGs: export them as PNG instead. Otherwise, export the selection again to get the rest.

”Images can’t be rendered right now.”

Wonder can’t render images at the moment. Try exporting again in a few minutes.

Pasted code turns into a text layer

Wonder doesn’t turn code back into layers. Pasting code, including code copied from Wonder, adds a text layer that holds it. To move layers between files, copy them with ⌘C and paste them with ⌘V.

There’s no SVG format

SVG is only offered when every selected layer is an SVG. Pick PNG or PDF instead, or select only the SVG layers.