Skip to Content

The editor and preview

Vibe code, where you chat with the agents beside a live preview of your app.

Open a project and select Vibe code in its sidebar. The chat is on one side, and a live preview of your app is on the other.

The chat

Type what you want in the box at the bottom and press Enter to send. Shift Enter starts a new line. Each message uses one credit.

While the agents work, the chat shows what they're doing: the steps, the files they change and a progress card. To stop them, select Stop the agent. See Chat with the agents for commands, attachments and chat history.

The preview

The preview is your app, running. It updates as the agents change the code.

  • Desktop and Phone switch the preview's size, so you can check your app on a small screen.
  • Reload the preview reloads it, like refreshing a browser.
  • Open in a new tab opens the app in its own tab, at its preview address.
  • Quick edit lets you click anything in the preview and change how it looks. See Quick edit.

The preview runs on your project's sandbox. If it pauses after a while without activity, it starts again when you come back.

Arrange the panels

Drag the line between the chat and the preview to resize them. Minimize the chat gives the preview the whole width, and Dock the chat puts it back.

On a phone, the chat and the preview are tabs you switch between.

The preview isn't loading?

Was this page helpful?

Report a problem

On this page