Documentation Index
Fetch the complete documentation index at: https://docs.kombai.com/llms.txt
Use this file to discover all available pages before exploring further.
Design Mode is currently in beta. For feedback, please contact us at support@kombai.com.
When to use Style Guides
Use Style Guides when you want to define or experiment with a visual direction without committing to granular token-level detail. Common scenarios include:- You want to quickly give a set of designs a consistent look and feel (same palette, fonts, and corner radius) without manually specifying every token.
- You are exploring different visual directions for a design and want to swap between color schemes or typographic pairings without rebuilding from scratch.
- You want to extract the visual identity of an existing website or design and reapply it across your Canvas.
- You want to pass high-level design guidelines (e.g. spacing philosophy, surface inversion rules) as freeform instructions to the LLM during generation.
Style Guide vs Theme
Style Guides and Themes both influence how your designs look, but they operate at different levels of fidelity. Style Guides are the faster, more flexible option — they are best when you are still shaping a visual direction.| Style Guide | Theme | |
|---|---|---|
| Fidelity | High-level: seed color, palette, typography, radius, and freeform instructions | Granular: every individual design token mapped explicitly |
| How it applies | Kombai regenerates the design to match the Style Guide’s parameters | Injected as structured token variables into the design; changes propagate automatically |
| Best for | Exploring visual directions, onboarding a new aesthetic, or aligning multiple designs quickly | Enforcing an existing design system precisely, or when token-level consistency is required |
| Freeform instructions | Yes — the Additional Instructions tab lets you pass prose guidelines to the LLM | No |
| Cross-Canvas reuse | Applied per Canvas | Can be copied and applied across Canvases |
Style Guide structure
A Style Guide is organized into the following fields. Together, they define the personality of your UI, from the feel of individual components to the overall color story. A Style Guide has two tabs: Tokens and Additional Instructions. Tokens organizes your design values into collapsible sections:- Name: A unique name to identify your Style Guide.
- Colors: The primary, secondary, tertiary, and neutral colors. Each token shows its name and hex value. You can add more color tokens using the + Add button.
- Typography: Font and size settings for Headline, Body, and Label styles. Each entry includes a font family and a size value. You can add more typographic styles using the + Add button.
- Spacing: Custom spacing tokens. Empty by default. Use + Add to define spacing values.
- Radius: Border radius tokens (e.g.
default: 8px). Use + Add to define additional radius values.
- Design Instructions: A freeform text area for design system guidelines passed directly to the LLM during design regeneration. The character count is shown at the bottom of the text area.
View a Style Guide
Clicking on a Style Guide card from the Design System page opens its detail view. The detail view shows you all the tokens and instructions that make up the Style Guide, and lets you edit them directly. The detail view has two tabs:- Tokens: Displays the design tokens organized into collapsible sections: Colors, Typography, Spacing, and Radius. Each color token shows a color swatch, its name, and its hex value. You can expand or collapse each section using the chevron, and add new tokens with the + Add button.
- Additional Instructions: Displays the freeform design instructions text, along with a character count. Click the pencil icon next to the Additional Instructions heading to edit the text.
- Click Use style guide to add the Style Guide to the chat as context.
- Click Save to save any edits, or Discard changes to revert them.
- Click the delete icon to permanently delete the Style Guide.
Apply a Style Guide
When you apply a Style Guide to a design, Kombai regenerates the selected design using the Style Guide’s parameters while preserving the original layout and content. This is useful when you want to explore a different visual direction for an existing design or align multiple designs to a shared Style Guide without rebuilding them from scratch.- Click on the design you want to apply the Style Guide to.
- Click the icon on the left toolbar.
- Hover on the Style Guide card you want to use, click the Use style guide button. Kombai will send a prompt to the agent to regenerate the design using the selected Style Guide.
Add a Style Guide
There are three ways to add a Style Guide to your Canvas: build one from scratch, extract it from an existing design, or pull it from a live website. All three options are accessible from the + menu in the Style Guides sidebar.Create new
Create new
Use this when you want full control over the Style Guide’s values, setting the palette, typography, and corner radius manually to match a specific design direction.
- Click the icon on the left toolbar, then click the + icon and select Create new.
- Enter a name, then configure the Tokens tab: set colors (including seed color and palette), typography, spacing, and radius values using the collapsible sections and + Add buttons. Switch to the Additional Instructions tab to add any freeform design guidelines.
- Click Save to save the Style Guide.
Import from design
Import from design
Use this when you already have a design in the Canvas and want to derive a Style Guide from its existing visual appearance. Kombai will analyze the design and extract its colors, typography, and radius settings automatically.
- Click the icon on the left toolbar, then click the + icon and select Import from design.
- Kombai will prompt you to select a design. Click on the design you want to extract the Style Guide from.
- Click Extract style. Kombai will send a prompt to the agent to analyze the design and extract its visual identity. The resulting Style Guide will appear in the My Style Guides tab of the Style Guides sidebar.
Import from URL
Import from URL
Use this when you want to replicate the visual style of an existing website. Kombai visits the URL, analyzes its visual identity, and saves the extracted Style Guide.
- Click the icon on the left toolbar, then click the + icon and select Import from URL.
- In the Extract style from URL modal, paste the URL of the website.
- Click Extract style. Kombai will prompt the agent to create a Style Guide from the site.
Edit a Style Guide
You can update any field of a saved Style Guide at any time. There are two ways to edit a Style Guide:From the Canvas
From the Canvas
- Click the icon on the left toolbar to open the Style Guides sidebar.
- Hover over the Style Guide card you want to edit and click the Edit button. If you have selected a design on the Canvas, you will see the Apply button instead. In that case, click the dropdown next to the Apply button and select Edit from the menu.
- Modify the individual fields.
- Click Save to apply the changes.
From the Design System page
From the Design System page
- Open the Design System page from the Canvas Gallery.
- Ensure the Style Guides tab is selected.
- Click on the Style Guide card you want to edit to open its detail view.
- In the Tokens tab, expand the Colors, Typography, Spacing, or Radius sections and edit the individual token values. Use + Add to add new tokens.
- Switch to the Additional Instructions tab and click the pencil icon to edit the freeform design instructions.
- Click Save to apply the changes, or Discard changes to revert.
Duplicate a Style Guide
Duplicating a Style Guide creates an exact copy of it in your Canvas, which you can then edit independently.- Click the icon on the left toolbar.
- Hover over the Style Guide card you want to duplicate, click the dropdown next to the Apply/Edit button.
- Select Duplicate from the menu.
Delete a Style Guide
- Click the icon on the left toolbar.
- Hover over the Style Guide card you want to delete, click the dropdown next to the Apply/Edit button.
- Select Delete from the menu.
Attach Style Guides in chat
There are two ways to attach a Style Guide to the chat as context:From the Design System popover
From the Design System popover
- Switch to Design Mode from the modes dropdown in the chat input box.
- Click the icon in the chat input to open the Design System popover.
- Switch to the Style Guides tab.
- Select the Style Guide you want to attach to the chat as context.
Using the @ command
Using the @ command
- Type
@Style Guidein the chat input. - Select the Style Guide you want to attach.
- Type your prompt and send.