Design mode is currently in alpha. Please contact us at support@kombai.com to get access.
Open a canvas
There are two ways to open a canvas in Design mode:- Prompt Kombai directly: Switch to Design mode and describe what you want to build. Kombai will generate the design in a canvas and open it automatically.
- Create one manually: Switch to Design mode, then click the icon in the chat input to go to the Design mode home page. Click Create a new canvas, enter a name, and click the Create button to open a new canvas.
Canvas toolbars
The canvas has two toolbars: the Left toolbar runs vertically along the left side and is always visible. The Top toolbar appears horizontally at the top of the canvas when you select a design.Left toolbar
The left toolbar gives you access to canvas navigation tools and the core Design mode features.| Icon | Action |
|---|---|
| Go to the Design mode home page. | |
| Click and drag to pan around the infinite canvas. | |
| Snip a portion of the design and attach it to the chat window. | |
| Open the CSS editor sidebar to manually adjust the CSS properties of any element in the selected design. | |
| Open the Themes sidebar to generate, apply, edit, and delete structured design token themes for the current canvas. | |
| Open the Blocks sidebar to save and reuse designs or design elements across your projects. | |
| Open the Styles sidebar to create, apply, edit, and delete styles for the current canvas. | |
| / | Toggle between light and dark mode. |
| Open the help docs. |
Top toolbar
The top toolbar appears when you select a design. It provides five actions: Preview, Add to context, Edit, Generate, and Code design.Preview
Preview
Opens the preview bar, letting you view the selected design across mobile, tablet, and desktop screens directly within Kombai. You can also open the localhost version of the design in your browser.
- Click on the design you want to preview.
- Click the Preview button in the top toolbar.
- Select the Mobile, Tablet, or Desktop tab to switch between screen size previews.
- Click the icon to open the design in your browser. From there, you can resize the window or use browser dev tools to test responsiveness.
Add to context
Add to context
Attaches the selected design to the chat window as context. This is useful when you want to reference the design in a prompt without generating code immediately.
Edit
Edit
It provides four options:
- Edit Design: Opens the CSS editor sidebar so you can manually adjust the styles of the selected design.
- Extract Theme: Extracts a theme from the selected design and saves it to the Themes sidebar.
- Change Theme: Opens a submenu with a Detach theme option at the top, followed by a list of all available themes. Click Detach theme to remove the current theme association from the design, or click any theme to apply it.
- Change Style: Opens a submenu listing all available styles. Click any style to apply it, or click Browse all to open the saved styles in the styles sidebar.
Generate
Generate
It provides options to generate variants or regenerate the entire design:
- Variants: Generates a new variant of the selected design. Hover and click the Generate variants option.
- Regenerate design: Regenerates the selected design.
Code design
Code design
Attaches the selected design to the chat input and sends a prompt to the agent to generate code for it.