Skip to content

UI design canvas

Design React components with your agent

Ask your agent to build a React component, then edit and test it on Longwave's UI design canvas. Export the component's source code when you're ready to use it in your app.

Add to Longwave

Start with the component you need

Ask for a pricing table with monthly and annual billing, or a signup form that shows validation errors. Describe how the component should look and behave. The agent creates it on the canvas. Ask for changes as you work.

Edit text, colors and layout yourself

Select a button to change its text or spacing. Change a card's background, move elements or adjust the layout in the visual editor.

Your edits update the React source code. Your agent can continue working from those changes.

Try the interactions as you design

Switch to Test mode to use the component. Open a menu, change the billing option or use the Tab key to move through a form.

Return to Design mode to edit the component. Ask your agent to change any behavior you want to improve, then test it again.

Compare ideas on the same canvas

Create a variant to try a different layout without changing the original. Place the variants side by side to compare them. Resize each component's frame to check how it looks at different screen widths.

Add reference images and notes beside the components to guide your changes.

Keep your components consistent

Set shared colors, typography and spacing for your design system. Use these settings across components to keep your designs consistent.

Save a button or card in a component library to use it in other designs. Link components to the library to receive updates. You can also keep a linked component on a specific version.

Take the component into your app

You and your agent can inspect the React source code as you work. Export the component when you're ready to use it in your app. The export includes the component's styles and the local images it uses.

Run the project locally and continue developing the component in your own codebase.

Questions people ask

What is the UI design canvas?

Longwave's UI design canvas is a visual editor for React components. You and your agent work on the same component. Ask the agent to create or change it. Make visual edits yourself and use Test mode to try the interactions.

Can I use it in ChatGPT or Codex?

Yes. Connect the UI design canvas in ChatGPT or install the plugin in Codex. Sign in with your Longwave account. The canvas is also built into Longwave.

Can I use it with Claude Code?

Yes, in Longwave. Start a thread with Claude Code and ask it to open the design canvas. Claude Code gets the same canvas tools as Codex, and the canvas opens next to the conversation.

Can I edit a component without writing code?

Yes. Use Design mode to edit text, colors, spacing and layout. Ask your agent to change the behavior or edit code that the visual controls do not cover.

Can I make interactive prototypes?

Yes. Components can include working forms, menus, dialogs and other interactions. Use Test mode to try them. Connect the exported component to your app's services as you develop it.

Does the canvas support Tailwind?

Yes. Components use React and support TypeScript and Tailwind CSS. Your agent can also use the included libraries for forms, charts and animations.

Can I bring in an existing component?

Yes. Import React or TypeScript source code, or a source bundle exported from the canvas. The preview can only run components that use supported libraries.

What do I get when I export?

You get a ZIP containing a Vite project you can run locally. It includes the component's React source code, styles and the local images it uses. Continue editing the code outside Longwave. Changes to the exported project do not automatically update the component on the canvas.

Build your next component with your agent

Add the UI design canvas to ChatGPT or Codex. Ask your agent to open it, then describe the component you want to build.

Add to Longwave

Add the UI design canvas to ChatGPT or Codex

Open ChatGPT, select +, then Add custom MCP server. Paste the link and sign in.

Open ChatGPT