Skip to content

Code prototypes: turn designs into interactive apps

Boris Janković

Code prototypes are here, for everyone. Select frames, choose Create prototype, and your agent turns them into a working app that plays right on the canvas, with nothing to set up. Make one from a chat in the desktop app (download it here) or any agent on the Wonder MCP.

Code prototypes

  • From frames to a working app. Select frames and choose Create prototype in the Wonder menu beside them, or in ⌘K. The request goes straight to your open chat, and the agent writes the prototype in React, Motion and Tailwind CSS.
  • Any agent can make one. Ask in a Claude Code or Codex chat in Wonder, or from Claude Code, Codex or Cursor over the Wonder MCP, even with Wonder closed. Wonder builds and test-runs every prototype before it lands on the canvas.
  • Click to play. Click a prototype to play it, and click away or press Esc to freeze it where it was. Its title shows a { } code icon and a Play/Pause button, and it keeps playing while you resize it.
  • Point at what to change. Inspect an element inside a prototype and add it to the chat, and the agent changes that element.
  • Everyone can play. Anyone who can open the file can play its prototypes, viewers included.
  • Just like your design. The agent builds the prototype from your frames' own code, so it looks exactly like them.
  • Take the code with you. Export code or Copy as code gives you one self-contained .tsx file with its styles: drop it into any React app with react and motion installed. In the desktop app, Capture puts the prototype's current screen onto the canvas as a design.
  • Light on your computer. Prototypes are lightweight, so you can have many of them on the canvas.
  • 10 a week on Free. The Free plan includes 10 new prototypes a week, and Pro is unlimited. Changing, duplicating or pasting a prototype doesn't count, and Plan & billing shows how many you've made this week.

Comments

  • Comment on one element inside a prototype, or inside a Preview in the desktop app, instead of the whole box. The pin follows its element as the app scrolls or changes.
  • @Wonder changes that element, and the Comments panel says where each comment is, such as "Sign up button · Onboarding prototype".

Chats

  • ⌘N starts new work in a new worktree of the project you're in, like Create new chat.
  • New chats keep your agent and start on its default model. Pick a model with the number keys in the model menu, or cycle with ⌘⇧M.
  • GPT-6.2-Sol and GPT-6.2-Astra in Codex chats.
  • Resume after a quit or crash. A reply cut off when Wonder quit or crashed gets the same one-click Resume as a stopped chat.
  • See when you sent each message, with a divider between days.
  • Drag the side chat wider, up to 700 px.
  • Follow an agent's work. When an agent edits a file you have open, its tab shows it, the agent appears in the file's presence menu and Pages list, and you can follow it like a person, even onto another page.
  • Generated images and SVGs show in the Designs card at the top of the reply, and you can jump to an SVG while it draws.
  • Copy and save images from the chat's right-click menu, and a clearer Tools menu with one status per tool.

Dev view and worktrees

  • Preview twins. Duplicate a Preview to see the same running app twice, each with its own page and device size. The chat's Preview menu and ⌘K find every card.
  • New worktree in one click from a repository's + button, and hide repositories you rarely use without removing them.
  • .worktreeinclude support. New worktrees get the gitignored files, such as .env.local, that your repository's .worktreeinclude lists.
  • A tidier Changes panel. Uncommitted and Committed files sit in collapsible groups, and the pull request badge opens it on GitHub or in a tab beside your chats.
  • Fold the terminal down to its header and bring it back with its shells still running.
  • Quick chats get tabs, and a new worktree chat uses the canvas file you have open instead of asking.

Canvas

  • Copy and paste typography from Properties onto other text, like fills and borders.
  • Start with a variable set. Fill an empty file's variables in one click with Tailwind CSS defaults and shadcn-style color roles.
  • Smoother while others work. Edits from teammates and agents no longer slow your canvas or cancel your drag.
  • Better font controls. They show the features and availability of each uploaded font file, and changing a font keeps the weight and style you chose.
  • Designs brought from your code stay editable without changing how they look.
  • Reopen a file you just closed with ⌘⇧T in the desktop app.
  • Agents check their work. They're warned when text has unreadable contrast or is clipped or too small.

Also new

  • Granted credits for image and vector generation show in Usage and Plan & billing.

Bug fixes

  • Fixed choosing Opus 5.5 on your second Claude account running that account's default model, such as Fable.
  • Fixed people editing together being disconnected and reconnected many times a day.
  • Fixed changing a value by hand on the canvas not detaching its variable.
  • Fixed agents losing the Preview after you switched pages, and the Preview never starting when an agent opened it.
  • Fixed file thumbnails disappearing in the desktop app.
  • Fixed chat messages flashing, jumping or showing twice while you send them.
  • Fixed signing in with another account on desktop reopening the previous account's tabs.
  • Fixed copying a template or marketplace file failing right after its owner edited it.
  • Fixed a long Mermaid diagram freezing Wonder.
  • Fixed Send to back and Bring to front showing the wrong shortcuts on Windows.
  • Plus smaller fixes across sign-in, the model menu, tooltips, dialogs and the Pages list.