# App menu Source: https://docs.kombai.com/account/app-menu These options are present in Kombai's top menubar in the IDE extension. You can start a new chat, open history, access quick settings, expand Kombai in editor, and view account. For the desktop app, see [Navigating the desktop app](/get-started/navigating-the-desktop-app). ## New chat To open a new chat in Kombai, click icon or use ⌥⌘N keyboard shortcut on macOS. ## History Click the icon to view your chat history. Select a chat to load it from the history. ## Expand in editor Kombai can be opened directly in the editor alongside your workspace files. When expanded, Kombai appears as a tab at the same level as your code files, allowing you to use the file explorer and Kombai simultaneously. To expand Kombai in editor, click in the top menubar. ## Quick settings Click the icon to open the [Settings](/account/settings) page. ## Subscription and Billing Click the to open the **Subscription and Billing** page. It lets you manage and explore plans and view your remaining plan credits. ## Help section To open the help section, click the in the top menubar. It shows your account and lets you sign out, and it includes: * **Credit logs:** Review how your credits have been used. * **My Assets:** View the images and videos Kombai has generated for you. * **Refer Docs:** Open this documentation. * **Learn:** Browse Kombai guides and tutorials. * **What's new?:** See recent changes to Kombai. * **Report a bug** and **Send feedback:** Send a report or feedback to the Kombai team. * **Community Videos:** Watch videos about Kombai. * **Refer & Earn:** Get your referral link. * **Become an Affiliate:** Learn about the Kombai affiliate program. * **Need help?:** Contact support. # Cancellation Source: https://docs.kombai.com/account/cancellation Learn how to cancel your subscription, switch to a smaller plan instead of cancelling, undo a cancellation, and what happens to your credits when a paid plan ends. In Kombai, to cancel your subscription, you have to downgrade to the free plan. You can also switch to a smaller plan instead of cancelling. Downgrading a paid plan takes effect at the end of your current billing period, not immediately. To cancel a Team plan, see [Team's Cancel Plan](/kombai-for-teams/manage-plan/cancel-plan) doc. ## Cancel your subscription > [tab] Desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. Scroll down to the **Billing & Invoices** section. > 4. Click **Downgrade plan**. > 5. Click **Downgrade to Free**. Alternatively, you can choose a smaller plan instead of cancelling. See [Switch to a smaller plan instead](/account/cancellation#switch-to-a-smaller-plan-instead). > 6. Review the list of changes, then click **Confirm downgrade**. > 7. Select a reason for leaving, then click **Downgrade plan**. > > The **Your Plan** page then shows a **Your Plan Ends Soon** banner with the date your plan ends. If you're on an annual plan, or already on the smallest plan, **Downgrade plan** opens Stripe's portal instead. Confirm the cancellation there. > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. Scroll down to the **Billing & Invoices** section. > 4. Click **Downgrade plan**. > 5. Click **Downgrade to Free**. Alternatively, you can choose a smaller plan instead of cancelling. See [Switch to a smaller plan instead](/account/cancellation#switch-to-a-smaller-plan-instead). > 6. Review the list of changes, then click **Confirm downgrade**. > 7. Select a reason for leaving, then click **Downgrade plan**. > > If you're on an annual plan, or already on the smallest plan, **Downgrade plan** opens Stripe's portal instead. Confirm the cancellation there. > [!NOTE] > > Your current plan will remain active until the end of the billing period. ## Switch to a smaller plan instead When you start a cancellation from the desktop app or the dashboard, Kombai also lets you switch to a smaller plan instead of downgrading to the free plan. This schedules a plan change instead of a cancellation: * The change takes effect at the end of your current billing period. * You keep your current plan and credits until then. * The **Your Plan** page shows a **Your Plan Changes Soon** banner naming the new plan and the date it starts. To call off a scheduled plan change, click **Keep current plan** in that banner. Your current plan continues on its original billing schedule. You can scheduled a plan change only on monthly plans. ## Undo cancellation If you're a paid user and have mistakenly cancelled your subscription, you can undo the cancellation before the billing period ends. > [tab] Desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. Scroll down to the **Billing & Invoices** section and click **Don't Cancel Plan**. Or, click **Your Plan Ends Soon** banner at the top of the page. > 4. Confirm in Stripe's portal. > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. Scroll down to the **Billing & Invoices** section and click **Don't Cancel Plan**. Or, click **Your Plan Ends Soon** banner at the top of the page. > 4. Confirm in Stripe's portal. ## FAQs > [accordion] What happens when I cancel the plan > > 1. You keep your plan and all your existing credits until the end of the current billing period. > 2. When the billing period ends, your account moves to the free plan. From that point: > * Your purchased one-time credits expire. > * Your paid monthly credits reduce to 0. > * Your credit rollover limit reduces from 5x your monthly credits to 150 credits. See [Credit rollovers](/account/credits#credit-rollovers). > * You can no longer buy one-time credit packs. > 3. When you reactivate your subscription after moving to the free plan, your account starts with the credits from your new purchase. Credits from your previous subscription that have already expired aren't restored. # Credits Source: https://docs.kombai.com/account/credits Credits are the standard unit of measurement for Kombai usage. The number of credits a task consumes depends on its complexity, length, and the [Model or Model Router](/features/models) used. Credits are primarily consumed based on LLM tokens (used for tasks like planning and output generation) during active task processing. Actions like viewing completed tasks or previewing output in the browser do not consume credits. You will not be charged credits for tasks that fail due to a technical issue on our end. We are continuously working to optimize system efficiency to reduce the number of credits consumed per task. ## Credit usage and models [Models and Model Routers](/features/models) let you control the trade-off between performance (quality, capabilities, speed) and credit consumption. The model or router you select applies a specific credit multiplier to the base credit usage of a task. For example, a task that consumes 10 credits on a `1x` model would consume approximately 5 credits on a `0.5x` model and 25 credits on a `2.5x` model. See [Models](/features/models) for the full list of models and routers and their credit multipliers. > [!NOTE] > > You can switch between models and routers in further conversations within the > same chat to optimize credit usage for different stages of development. ## Get more credits Users on free plan can get more credits by upgrading to the Pro plan. You can opt for a monthly credit bundle as part of the Pro plan. Once the current bundle is exhausted, you can renew the plan with the same or a different bundle. | Monthly credits | Monthly billing | Annual billing | Extra credits | | - | - | - | - | | `2,000` | `$20` | `$192 ($16/month)` | `0% extra credits` | | `4,200` | `$40` | `$384 ($32/month)` | `5% extra credits` | | `6,400` | `$60` | `$576 ($48/month)` | `6.67% extra credits` | | `8,700` | `$80` | `$768 ($64/month)` | `8.75% extra credits` | | `11,000` | `$100` | `$960 ($80/month)` | `10% extra credits` | | `22,000` | `$200` | `$1,920 ($160/month)` | `10% extra credits` | | `33,000` | `$300` | `$2,880 ($240/month)` | `10% extra credits` | | `44,000` | `$400` | `$3,840 ($320/month)` | `10% extra credits` | | `55,000` | `$500` | `$4,800 ($400/month)` | `10% extra credits` | | `110,000` | `$1,000` | `$9,600 ($800/month)` | `10% extra credits` | ## Buy one-time credits Pro users can purchase one-time credit packs that are added to their account immediately. You can also buy multiple packs at once. | Pack | Price | | :- | :- | | `1,000` credits | `$11` | | `10,000` credits | `$110` | > [tab] IDE Extension > > 1. [Launch Kombai extension](/get-started/set-up/ide-extension#launch-kombai-extension) in your IDE and sign-in. > 2. Click at the top. > 3. In the **Buy one-time credits** section, select the number of credit packs you want to purchase. > 4. Click **Buy credits**. > 5. Complete the payment in Stripe's portal. > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. In the **Plan Summary** card, click **Buy one-time credits**. > 4. Select the number of credit packs you want to purchase. > 5. Click **Buy credits**. > 6. Complete the payment in Stripe's portal. > [!NOTE] > > Purchased one-time credits are subject to the same rollover limits as your > plan credits (up to 5x your monthly credit limit for Pro users). They remain in your account until consumed, the rollover > limit is reached, or the plan is cancelled. ## Check credit usage The **Credit Logs** page shows your remaining balance and the credit usage history for all your Kombai chats. You can also check the credits consumed in an individual chat at the end of that conversation. ### On the Credit Logs page > [accordion] In the desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > > 2. Click **Credit logs**. > > > [!TIP] > > > > To check only your balance, click **Usage remaining** in the same menu. It expands in place to show the percentage of credits left, your remaining and total credits, and your next refill date. > [accordion] In the IDE extension > > 1. Click the icon on top. > 2. Click **Credit logs**. ### Within a chat Click the **More actions** icon at the end of a conversation. The last row of the menu, **Credits used in thread** shows the total credits that chat has consumed so far. This works the same way in the desktop app and the IDE extension. ## Check allocated credits The Allocation tab gives you a complete history of your credit activity. Each entry displays the Date, Type (e.g., Daily, Rollover, Purchased, or Expired), and Credits added (+) or deducted (-). > [accordion] In the desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Credit logs**. > 3. Click the **Allocation** tab. > [accordion] In the IDE extension > > 1. Click the icon on top. > 2. Click **Credit logs**. > 3. Click the **Allocation** tab. ## Credit rollovers ### Users on free plan * For users on free plan, unused credits roll over at the start of each month. ### Users on paid plans * For users on monthly plan, unused credits roll over at the end of each billing cycle. * For users on annual plan, unused credits roll over every month on the same date they purchased the plan. * For users upgrading from free plan to a paid plan, unused credits will roll over to the new plan. * For users upgrading from a paid plan to a higher paid plan, unused credits will roll over to the new plan. ### Users who cancel their plan * For users who cancel their plan, up to 150 unused credits will roll over to the free plan. ### Rollover limits * **Free plan:** Unused credits can roll over up to 150 credits (0.5x the monthly limit). * **Monthly plans:** Unused credits can roll over up to 5x the monthly credit limit. * **Annual plans:** Unused credits can roll over up to 12x the monthly credit limit (equivalent to the annual limit). * **Team plan:** All unused credits will roll over the team's billing cycle renewal date without any limit. ## FAQs > [accordion] How many credits do I get for free > > All new users receive 150 credits upon signing up, followed by 50 credits on each of the first three days. After that, Free plan users receive 300 credits on the first day of each month. > [accordion] When does my monthly credit limit refresh > > On a paid plan, your monthly credit limit refreshes on the same date and time > your subscription started. On the Free plan, it refreshes on the first day of > each month. > [accordion] What does the 'Credits used in thread' after each message mean > > The "Credits used in thread" displayed under at the end of each message represents the **total cumulative credit usage for the entire chat**. It includes credits consumed by all messages within that conversation. # Pricing Source: https://docs.kombai.com/account/pricing Kombai offers three plans: Free, Pro, and Enterprise. ## Free Plan * 300 credits / month * 150 credits on sign-up, followed by 50 credits on the first three days * 300 credits on the first day of each month * Credit rollovers up to 0.5x monthly limit ## Pro plan * Monthly credits based on your chosen credit bundle (`2,000`, `4,200`, `6,400`, `8,700`, `11,000`, `22,000`, `33,000`, `44,000`, `55,000`, `110,000` credits) * Credit rollovers up to 5x monthly limit * Email support * No AI training on your data * SOC2 compliance ## Enterprise plan * Custom context engine to ensure high accuracy for complex component libraries & tech stacks * Centralized invoice/ PO billing * Dedicated support * Onboarding services * SOC2 compliance & security evaluations * No AI training on your data ## Pro plan pricing The Pro plan includes a set number of credits and supports monthly, quarterly, and annual billing. Annual billing offers additional benefits, such as a lower monthly rate and higher rollover limits for unused credits. Once the current bundle is used up, a monthly plan can be renewed with the same or a different bundle. An annual plan can only be upgraded to a higher annual bundle. See [Subscription](/account/subscription). | Monthly credits | Monthly billing | Annual billing | Extra credits | | - | - | - | - | | `2,000` | `$20` | `$192 ($16/month)` | `0% extra credits` | | `4,200` | `$40` | `$384 ($32/month)` | `5% extra credits` | | `6,400` | `$60` | `$576 ($48/month)` | `6.67% extra credits` | | `8,700` | `$80` | `$768 ($64/month)` | `8.75% extra credits` | | `11,000` | `$100` | `$960 ($80/month)` | `10% extra credits` | | `22,000` | `$200` | `$1,920 ($160/month)` | `10% extra credits` | | `33,000` | `$300` | `$2,880 ($240/month)` | `10% extra credits` | | `44,000` | `$400` | `$3,840 ($320/month)` | `10% extra credits` | | `55,000` | `$500` | `$4,800 ($400/month)` | `10% extra credits` | | `110,000` | `$1,000` | `$9,600 ($800/month)` | `10% extra credits` | # Settings Source: https://docs.kombai.com/account/settings Settings controls how Kombai works: what it knows about your project, which tools it connects to, and how it behaves. ## Project settings and app settings **Project settings** apply only to the project (the folder) you're working in. Each project keeps its own values, so switching projects switches these settings too. **App settings** apply to every project you open in Kombai. | Section | Applies to | | - | - | | Tech Stack | The project | | Context Graphs | The project | | Memory | The project | | Rules, Commands & Skills | Both. **Project** items, stored in the project's `.kombai` folder, apply only to that project. **User** items, stored in `~/.kombai`, apply to every project. **Team** items are shared with everyone on your team. | | External MCP Servers | Both. Servers in the project's `.kombai/mcp.json` apply only to that project. Servers in `~/.kombai/mcp.json` apply to every project. See [Configuration locations](/features/mcp/external-mcp-servers#configuration-locations). | | Kombai Browser | Every project | | Kombai MCP Server | Every project | | General | Every project | | Design Mode | Every project | | Worktrees | Every project. The worktree list shows the current project's worktrees. | ## Open Settings > [tab] Desktop app > > The desktop app shows project settings and app settings separately. How you open Settings decides which sections you see: > > | To open | Do this | Where it opens | > | - | - | - | > | **App settings** | Click **Settings** on the left sidebar's [icon rail](/get-started/navigating-the-desktop-app#icon-rail). | The center panel. The sidebar lists the sections in three groups, **Preferences**, **Context**, and **Connections**, followed by **Docs** and **Support** links. | > | **Project settings** | Open the ⋯ menu in a chat's [header](/get-started/navigating-the-desktop-app#chat-header) and click **Project settings**. You can also choose **Project settings** from the right panel's **+** menu, or from the empty [right panel](/get-started/navigating-the-desktop-app#right-panel). | A **Project Settings** tab in the right panel, for the active project. | > > App settings and project settings each show only their own items: > > * **App settings** leave out Tech Stack, Context Graphs, and Memory. On the **Rules, Commands & Skills** page, the **Individual** tab lists only your user-level items. > * **Project settings** show only Tech Stack, Context Graphs, Memory, and Rules, Commands & Skills. The **Rules, Commands & Skills** page lists only the project's items, with no **Individual** or **Team** tabs. > [tab] IDE extension > > The IDE extension shows project settings and app settings together on one page. Open it in any of these ways: > > * Click the icon (**Open Settings**) in Kombai's top menubar. > * In a chat, click the icon in the row below the chat input. > * Open the Command Palette and run **Kombai: Open Settings**. The command is available when a folder is open in your IDE. > > Settings opens as a **Kombai Settings** tab in the editor, with every section. Project settings apply to the folder open in your IDE. On the **Rules, Commands & Skills** page, the **Individual** tab lists both your user-level items and the project's items. When the page is wide enough, its sections appear in a sidebar. Otherwise, they appear as a row of tabs above the page. App settings in the desktop app list their sections in the left sidebar instead. ## Settings reference The sections are grouped as **Context**, **Connections**, and **Preferences**. ### Context > [accordion] Tech Stack > > The Tech Stack page lets you define the libraries and frameworks used in your > repo. Learn more in the [Tech Stack overview](/features/overview). > [accordion] Context Graphs > > The Context Graphs page lets you manage how Kombai indexes and understands > your codebase. See [Context Graphs](/context/context-graphs) for details. > [accordion] Memory > > The Memory page lets you turn **Auto memory** on or off for the open project > and review or delete the memories Kombai has saved. See > [Memory](/context/memory) for details. > [accordion] Rules, Commands & Skills > > The Rules, Commands & Skills page lets you manage custom instructions, > automation workflows, and reusable skills. Each has an **Individual** sub-tab > for your own and project-level items, and a **Team** sub-tab for sharing > across your team. In the desktop app, which items appear depends on how you > open Settings; see [Open Settings](#open-settings). See > [Rules](/features/rules), [Commands](/features/commands), and [Agent > Skills](/features/agent-skills) for details. ### Connections > [accordion] External MCP Servers > > The External MCP Servers page lets you configure Model Context Protocol (MCP) > servers to connect Kombai with external tools and data sources. See [External > MCP Servers](/features/mcp/external-mcp-servers) for details. > [accordion] Kombai Browser > > * **Default browser** (desktop only): Where a chat's browser opens until you pick one for that chat: **New Tab** opens pages as tabs in the chat, and **External Browser** opens a separate Chrome window. The agent uses the browser its chat uses. (**New Tab** by default) See [Set the default browser](/browser/in-app-browser#set-the-default-browser). > * **Agent can use Browser**: When enabled, the agent can use the browser to navigate web pages and interact with them whenever required. (Enabled by default) > * **Test Connection**: Check that the Kombai browser is configured and working correctly. > * **Browsing data** (desktop only): **History** and **Download history** open the in-app browser's visited pages and downloaded files. Next to **Clear browsing data**, click **Clear…** to choose which of browsing history, download history, and cookies and site data to remove. > * **Profiles & Session Sync**: Import sessions and cookies from your local Chrome to bypass logins. On macOS, before your profiles are listed, click **Allow** next to **Chrome profiles** to let Kombai read them; macOS may ask you to allow this. If macOS blocks access, the desktop app shows a **Full Disk Access** row: click **Allow** and follow the guide to turn it on in System Settings. On Windows (x64 desktop app only), click **Import…** next to **Chrome sessions** instead. See [Import cookies from Chrome profiles](/browser/get-started#import-cookies-from-chrome-profiles). > > Read [Kombai Browser Overview](/browser/overview) doc. > [accordion] Kombai MCP Server > > The Kombai MCP Server page installs the Kombai skill into coding agents like > Cursor and Claude Code, so they can design UI with Kombai from outside the > app. See [Kombai MCP Server](/features/mcp/kombai-mcp-server) for details. ### Preferences > [accordion] General > > Use the **General** settings page to configure how the agent works and how the app behaves. The page has two groups: **Agent** and **App**. > > **Agent** > > * **Approval policy**: Choose which commands need your approval. You can also change it from the chat input: type `/` and open the **Shell permissions** submenu. > * **Ask for changes**: Asks before commands that make changes. Read-only ones run on their own. > * **Auto-approve** (default): Runs commands a safety check approves. Asks about the rest. > * **Don't ask**: Runs every command without approval, including ones that delete files. > > * **Mid-task messages**: Choose what happens to messages sent while Kombai works. **Queue** (default) waits until Kombai finishes, then sends them all together; **Steer** joins them into the task in progress at Kombai's next step. > > * **AI images and video**: Let Kombai add AI-generated images and video to designs. Choose **Auto** (default) to have Kombai add them when useful, or **Never** to add them only after you ask and confirm. > > * **Auto compact threads**: Automatically summarize long conversation histories to optimize context usage and improve response speed. (Enabled by default) > > * **Response notifications**: Alerts you when Kombai finishes a response or needs input while you are working in another window or tab. Clicking a notification brings you back to the chat. (Enabled by default) > > In the desktop app, the notification shows **Kombai —** followed by the chat's title, with **Response ready** or **Needs your input**. On macOS, the first time you use the app, Kombai shows a **Kombai notifications are on** notification so that macOS asks for notification permission while you're there to allow it. > > > [!NOTE] > > > > **macOS Note:** If you previously dismissed the initial macOS permission prompt, notifications will not appear even if enabled here. Re-enable them in **System Settings > Notifications > Kombai**, or click the **notification settings** link under the setting. > > **App** > > **Hide Get Started cards:** Hides the Get Started cards from the Home screen. (Disabled by default) To bring them back, open the account menu's **Get Started** flyout in the desktop app, or the Home's **Get started** button in the IDE extension. > > The other App settings are available only in the desktop app: > > **Theme:** Changes the appearance of Kombai. The **Auto modern**, **Auto +**, and **Auto 2026** options follow your system's light or dark setting. You can also pick a fixed theme: **Dark Modern**, **Dark+**, **Dark 2026**, **Light Modern**, **Light+**, **Light 2026**, **Monokai**, **Monokai Dimmed**, **Solarized Light**, or **Tomorrow Night Blue**. The default is **Auto 2026**. The same list is in **View > Theme** in the menu bar. > > **Launch at login:** Automatically opens Kombai when you sign in to your computer (macOS, Windows, and Linux). Kombai turns this on the first time it launches; turn it off here if you don't want it. > > > [!NOTE] > > > > If your computer is managed by an administrator or restricts startup > > applications, turning on **Launch at login** will automatically switch off if > > the setting cannot take effect. > > **Clear browser cookies and site data:** Signs you out of sites in the in-app browser and deletes the cookies you imported from Chrome. Click **Clear**, then confirm. See [Sign-ins and cookies](/browser/in-app-browser#sign-ins-and-cookies). > [accordion] Design Mode > > The Design Mode page includes the **Canvas dot grid** setting, which shows a dotted grid behind your designs on the canvas. Turn it off for a plain background. (Enabled by default) > > In the IDE extension, the Design Mode page also includes **Open canvas in browser**, which opens your design canvas files in the Kombai Browser instead of the editor. (Disabled by default) > [accordion] Worktrees > > Manage [worktree](/features/worktrees) chats: > > * the location new worktrees are created in > > * the branch prefix Kombai uses > > * what happens when a worktree's last chat closes > > * whether to copy installed dependencies into new worktrees > > * the list of worktrees for the current project. > > > [!NOTE] > > > > Worktrees are available only in the desktop app. > > See [Worktrees](/features/worktrees#manage-worktrees-in-settings) for details. > [accordion] @ Support > > To reach out to the support team. > [accordion] Docs > > To access the full documentation portal to explore detailed guides and > references. # Subscription Source: https://docs.kombai.com/account/subscription Learn how to upgrade, downgrade, and renew your plan, view past invoices, and change the payment method. You can manage your plan from the desktop app, IDE extension, or Kombai dashboard. ## Upgrade your free plan to a paid plan > [tab] Desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. Select **Monthly**, **Quarterly**, or **Yearly** above the plan cards. Yearly billing saves 20%. > 4. In the **Upgrade to Pro** card, select a bundle from the **Credit Bundle** dropdown. > 5. Click **Upgrade**. > 6. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] IDE Extension > > 1. [Launch Kombai extension](/get-started/set-up/ide-extension#launch-kombai-extension) in your IDE. > 2. Click at the top. > 3. Select **Monthly**, **Quarterly**, or **Yearly** in the **Get More from Pro** card. Yearly billing saves 20%. > 4. Select a credit bundle from the dropdown. > 5. Click **Upgrade**. > 6. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. The upgrade card at the bottom of the sidebar opens the same page. > 3. Select **Monthly**, **Quarterly**, or **Yearly** in the **Upgrade to Pro** section. Yearly billing saves 20%. > 4. Select a credit bundle from the **Credit Bundle** dropdown. > 5. Click **Upgrade to Pro**. > 6. Complete the subscription in Stripe's portal. ## Upgrade your paid plan to a higher paid plan > [tab] Desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. Select **Monthly**, **Quarterly**, or **Yearly** above the plan cards. > 4. In the **Get more from Pro** card, select a larger bundle from the **Credit Bundle** dropdown. > 5. Click **Upgrade**. > 6. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] IDE Extension > > 1. [Launch Kombai extension](/get-started/set-up/ide-extension#launch-kombai-extension) in your IDE. > 2. Click at the top. > 3. Select **Monthly**, **Quarterly**, or **Yearly** in the **Get More from Pro** card. Yearly billing saves 20%. > 4. Select a higher credit bundle from the dropdown. > 5. Click **Upgrade**. > 6. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. Select **Monthly**, **Quarterly**, or **Yearly** in the **Get more from Pro** section. Yearly billing saves 20%. > 4. Select a higher credit bundle from the **Credit Bundle** dropdown. > 5. Click **Upgrade**. > 6. Complete the payment in Stripe's portal. > [!NOTE] > > Unused and unexpired credits in your account always roll over when you > upgrade. You never lose existing credits by upgrading. Learn more about > [Credit rollovers](/account/credits#credit-rollovers). ### Upgrading monthly plans to higher monthly plans * When you switch from a monthly plan to a higher monthly plan, you're charged immediately for the price of your new plan. * Any unused credits from your monthly plan roll over into your new monthly plan. * Your new monthly plan starts on the upgrade date, and your renewal date resets to that same day each month. ### Upgrading monthly plans to annual plans * When you switch from a monthly plan to an annual plan, you're charged immediately for the annual price of your new plan. * Any unused credits from your monthly plan roll over into your new annual plan. * Your annual plan starts on the upgrade date, and your renewal date resets to that same day each year. ### Upgrading annual plans to higher annual plans * When you upgrade your plan, you are only charged prorated amounts based on how much time is left in your current billing cycle. * For example, if you’re on a `$192` yearly plan and switch to a `$576` yearly plan halfway through the year, the unused `$96` from your old plan is applied as an adjustment. You’ll then be charged `$288` for the remaining half of the cycle on the `$576` plan, minus the `$96` adjustment. This means you’ll pay an additional `$192` overall for that year. * Your renewal date does not change. From the next billing cycle onward, you’ll be charged the full `$576` each year for your upgraded plan. * You also receive enough additional credits to bring you up to the new plan's full monthly allocation for the month in which you upgrade, plus you get that full allocation again on each monthly anniversary for the rest of your billing cycle. ## Renew your same plan When your credits in the current plan are over, you can also renew the same plan instead of upgrading to a higher plan. This will reset your billing cycle to the start of the newly renewed plan. > [!NOTE] > > You can only renew the same plan if you are on a monthly plan. Annual plans do > not support renewals. > [tab] Desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. In the **Get more from Pro** card, select the bundle you are already on from the **Credit Bundle** dropdown. > 4. Click **Renew**. > 5. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] IDE Extension > > 1. [Launch Kombai extension](/get-started/set-up/ide-extension#launch-kombai-extension) in your IDE. > 2. Click at the top. > 3. Select the bundle you are already on from the dropdown. > 4. Click **Renew**. > 5. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. In the **Get more from Pro** section, select the bundle you are already on from the dropdown. > 4. Click **Upgrade**. > 5. Complete the renewal in Stripe's portal. ## Downgrade your plan You can downgrade to a lower credit bundle from the desktop app, the Kombai extension in your IDE, or the Kombai dashboard. If you're on an annual plan, you can't downgrade. An annual plan allows only upgrades to a higher annual bundle: every lower annual bundle and every monthly bundle is disabled in the **Credit Bundle** dropdown. To leave an annual plan, see [Cancellation](/account/cancellation). > [tab] Desktop app > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. In the **Get more from Pro** card, select a lower bundle from the **Credit Bundle** dropdown. > 4. Click **Downgrade**. > 5. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] IDE Extension > > 1. [Launch Kombai extension](/get-started/set-up/ide-extension#launch-kombai-extension) in your IDE. > 2. Click at the top. > 3. In the Get more from Pro card, select a lower bundle from the Credit Bundle dropdown. > 4. Click **Downgrade**. > 5. If Kombai opens the **Confirm your purchase** modal, check the amount and click **Confirm and pay**. Otherwise, complete the payment in Stripe Checkout. See [How payment works](#how-payment-works). > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. In the **Get more from Pro** card, select a lower credit bundle from the **Credit Bundle** dropdown. > 4. Click **Upgrade**. The dashboard uses the same button whichever bundle you pick. > 5. Authorize the payment in Stripe's portal. ## View past invoices > [tab] Desktop app > > The **Billing & Invoices** section appears once you've made a payment to Kombai. Team plans manage billing from the dashboard. > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. Scroll down to the **Billing & Invoices** section. > 4. Click **View Past Invoices**. > 5. Stripe's portal opens in your browser, where you can view your past invoices. > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. Scroll down to the **Billing & Invoices** section. > 4. Click **View Past Invoices**. > 5. You'll be redirected to Stripe's portal, where you can view your past invoices. ## Change your payment method > [tab] Desktop app > > The **Billing & Invoices** section appears once you've made a payment to Kombai. Team plans manage billing from the dashboard. > > 1. Click your avatar at the bottom of the left sidebar's icon rail to open the [account menu](/get-started/navigating-the-desktop-app#account-menu). > 2. Click **Your plan**. > 3. Scroll down to the **Billing & Invoices** section. > 4. Click **Change Payment Method**. > 5. Stripe's portal opens in your browser, where you can change your payment method. > [tab] Dashboard > > 1. Navigate to the [Kombai dashboard](https://agent.kombai.com). > 2. Go to the **Your Plan** page from the sidebar. > 3. Scroll down to the **Billing & Invoices** section. > 4. Click **Change Payment Method**. > 5. You'll be redirected to Stripe's portal, where you can change your payment method. ## How payment works Kombai processes purchases in one of two ways: * **Inside the app**: If you have a saved card, the **Confirm your purchase** modal appears directly in Kombai, showing your plan, saved card, and final charge (including any first-month discounts). Click **Confirm and pay** to complete your purchase. * **In your browser**: Kombai opens Stripe Checkout in your browser when you don't have a saved card. It's also required for two specific cases: **team plan changes** and **individual plan changes while you are on an annual plan**. You can also trigger Stripe Checkout manually from the **Confirm your purchase** modal by opening the card dropdown and clicking **Pay with a different method**. > [!NOTE] > > Credit pack purchases are always handled in-app because they have fixed > pricing. Even if you are on a team or annual plan, you can buy credit packs > directly using a saved card. Once your payment is complete, Kombai confirms it immediately in the app. If a payment is processing but hasn't settled yet, Kombai will notify you and provide a direct link to support. # Autonomous agent operations Source: https://docs.kombai.com/browser/autonomous-agent-operations Kombai can autonomously navigate and interact with the browser to perform tasks. Kombai can perform actions like navigating to different pages, clicking on buttons, and filling out forms to test your applications. To start using the browser autonomously, ask Kombai to perform a task in the Kombai Browser. > [!NOTE] > > In the Kombai desktop app, the agent uses the [in-app browser](/browser/in-app-browser) by default and opens its pages as tabs in the chat's right panel. To have it use a Chrome window, change the chat's browser or the [**Default browser** setting](/browser/in-app-browser#set-the-default-browser). ## Capabilities > [accordion] Navigate > > Kombai can test navigations inside your application with actions like visiting > a page, switching between tabs, or navigating to different routes. > [accordion] Manage tabs > > Kombai can open new tabs, list and switch between open tabs, and close tabs or > the whole browser window to test multi-page and multi-window flows. > [accordion] Click > > Kombai can identify interactive elements in your interface and test the > clickability of these elements. It can perform clicks, double clicks, > right-clicks and hover actions on any visible element on the webpage like > buttons, links, and form fields. > [accordion] Type > > Kombai can identify an input field and type text into it. It fills out forms, > submits data, and interacts with text areas and search boxes. > [accordion] Scroll > > Kombai can scroll lengthy pages to reveal more content, find specific > elements, and explore large documents. > [accordion] Screenshot > > Kombai can take screenshots to understand page layouts, verify visual > elements, and provide visual confirmation of its browser actions. > [accordion] Snip a region > > Kombai can select a rectangular region of the page and detect the elements > inside it, returning a cropped image along with the matched elements. This helps > when an area is easier to point at by coordinates than to describe by selector. > [accordion] Inspect elements and styles > > Kombai can read the page's DOM structure and the computed CSS of any element, > covering layout, typography, color, spacing, borders, flex/grid, transforms, and > more. It uses this to understand how the UI is built before it suggests or makes > changes. > [accordion] Inspect React components > > On React apps, Kombai can map any element to its nearest React component and > read the component's name, props, state, and source file location. This traces > what you see on screen back to the code that renders it. > [accordion] Detect frameworks > > Kombai can detect the UI frameworks running on a page (such as React, with its > version) to tailor how it inspects and edits the application. > [accordion] Read design tokens > > Kombai can read the CSS custom properties (variables) declared on the page, such > as your color, spacing, and typography tokens, so its style changes stay > consistent with your design system. > [accordion] Edit the page live > > Kombai can make live, in-page changes to preview a result before writing any > code, including applying or removing CSS, editing text, moving or deleting > elements, and injecting fonts or animations. > [accordion] Wait for hot reload > > After editing your source, Kombai can wait for the dev server's next Hot Module > Replacement event (Vite, Webpack, Next.js, Turbopack, Remix, Parcel, esbuild) > before re-inspecting. This enables a reliable edit, reload, and verify loop. > [accordion] Console errors > > Kombai can monitor the browser console to troubleshoot problems and check page > behavior by reading JavaScript errors, network warnings, and debugging output. > [accordion] Network requests > > Kombai can monitor the page's HTTP requests and responses, allowing it to > track API calls, analyze payloads, check status codes, and diagnose network > issues. > [accordion] Performance metrics > > Kombai can measure the page's performance, including Core Web Vitals (LCP, CLS, > INP, FID) with good / needs-improvement / poor ratings, loading metrics (FCP, > TTFB, TBT, TTI), transfer size, and JavaScript heap usage, to help identify and > optimize performance bottlenecks. > [accordion] Accessibility and SEO audits > > Kombai can audit the current page for accessibility and SEO issues and report > what to fix. # Capabilities Source: https://docs.kombai.com/browser/capabilities Learn how to use the extension's element selector, snipping tool, CSS editor, and DOM editor. ## Send DOM elements as context Kombai includes and tools to help you select or snip DOM elements and attach them to the browser extension's chat window. Follow the steps in the [Element Selector](#element-selector) and [Snipping tool](#snipping-tool) sections below to use these tools. ### Element selector 1. Click the icon in the browser extension's chat window. Alternatively, press ⌘ + ⌥ + . on macOS or Ctrl + Alt + . on Windows and Linux. 2. Click the DOM element you want to send to Kombai. When you click, Kombai captures a screenshot of both the element and the entire page. 3. Add any additional instructions you want to send to Kombai. 4. Click the **Send to agent** button. ### Snipping tool 1. Click the icon in the browser extension's chat window. Alternatively, press ⌘ + ⌥ + S on macOS or Ctrl + Alt + S on Windows and Linux. 2. Hold and drag the mouse over the UI area you want to snip. Snipped DOM elements and their screenshots will be captured and attached as context. 3. Add any additional instructions you want to send to Kombai. 4. Click the **Send to agent** button. ## Send visually edited CSS styles to Kombai as context You can select an element and visually edit its CSS to preview how that element will look like before sending the changes to Kombai for implementation. You can visually edit the position, layout, appearance, and font styles of the selected element. 1. Click the icon in the browser extension's chat window. Alternatively, press ⌘ + ⌥ + . on macOS or Ctrl + Alt + . on Windows and Linux. 2. Click the DOM element you want to send to Kombai. 3. Go to the **Design** tab in the Kombai extension and edit the CSS values visually based on the available dropdowns and input boxes. 4. Ask Kombai to implement changes and send the message to agent. ## Edit site texts live and send them to Agent The text editor lets you edit texts in your webpage live and send them to Agent for code implementation. You can edit the text of any element on the page, including headings, paragraphs, buttons, and input fields. 1. Click the icon in the browser extension's chat window. Alternatively, press ⌘ + ⌥ + T on macOS or Ctrl + Alt + T on Windows and Linux. 2. Click on a text element on the page to make it editable. 3. Edit the text. 4. Click the **Send to agent** button. ## Use DOM editor to visually rearrange and delete DOM elements You can use the DOM editor to visually drag and rearrange DOM elements or delete them from the UI. ### Drag and rearrange DOM elements 1. Click the icon in the browser extension's chat window. Alternatively, press ⌘ + ⌥ + E on macOS or Ctrl + Alt + E on Windows and Linux. 2. Click and hold a UI element on the page and drag it to a new position to rearrange it. 3. Click the **Send to agent** button. ### Delete DOM elements 1. Click the icon in the browser extension's chat window. 2. Click a UI element on the page and press the Delete / Backspace key on your keyboard to delete the element. 3. Click the **Send to agent** button. ## Capture sections onto your design canvas with Web Capture The **Web Capture** tool lets you grab any section of a live page, or the entire page, and bring it onto your Kombai [design canvas](/design/canvas), where you can iterate on it or use it as inspiration. 1. Click the icon in the browser extension's chat window. Alternatively, press ⌘ + ⌥ + C on macOS or Ctrl + Alt + C on Windows and Linux. 2. Hover over the page and click a section to capture it. To capture the entire page instead, click **Capture full page** in the Web Capture panel. 3. Captured items appear as cards in the Web Capture panel. Use **Highlight in page** to locate a capture on the page, or **Clear all** to remove them. 4. Press Esc to exit Web Capture mode. ## Preview multiple screens You can use multiple browser tabs to preview different screens of your app simultaneously. This enables you to select elements from other screens that you want to refer to in your current browser tab. For example, if you have the **Homepage** open and want to add an avatar from the **Accounts** page: 1. Open the Accounts page in a new tab. 2. Select the avatar element. 3. Return to the previous tab (Homepage). You will see the avatar's DOM element highlighted in yellow. You can then ask Kombai to add the avatar to the Homepage. ## Send browser data The browser extension automatically attaches all available browser data to your messages as context. Beyond DOM elements and applied CSS changes, it captures the entire DOM tree, console logs, network errors, and performance metrics (Web Vitals). Using this data, Kombai fixes console and network errors, boosts page performance, refactors UI components, and edits your UI with precision. ### Example prompts 1. Fix console errors in my app. 2. Create a new `` component to group the tagged cards together. 3. Identify slow network requests and suggest improvements. 4. Give me the current performance metrics of the page. # Get Started Source: https://docs.kombai.com/browser/get-started Set up and launch the Kombai Browser extension, explore the extension UI, import Chrome profiles, and restart the browser server. ## Launch Kombai Browser Here are two ways to launch the Kombai Browser: > [accordion] Use the Globe icon > > Use the icon to launch the Kombai Browser without running a specific project. > > **In the desktop app**, click the icon in the [chat header](/get-started/navigating-the-desktop-app#chat-header), or in the row below the chat input on the home screen. The Kombai Browser opens in a Chrome window. A green dot on the icon means the browser is connected. If the browser isn't set up yet, clicking the icon opens the **Kombai Browser** tab in [Settings](/account/settings) instead. > > **In the IDE extension**, use the icon in the row below the chat input: > > 1. Click the icon to open the browser menu. > 2. Click the icon next to **On**. > > The menu also lets you control the agent's browser access and profile: > > * **On** / **Off**: Turns the agent's access to the browser on or off. This is the same setting as **Agent can use Browser** in the **Kombai Browser** tab of Settings. > * Profile avatar: Next to **On**, pick the [default Chrome profile](#how-to-make-a-profile-default) for the Kombai Browser. It appears after you import at least one profile. > * Status row: Shows **Connected**, **Connecting...**, or **Not Connected**. Click it to open the **Kombai Browser** tab in Settings. > [accordion] Use the localhost link in the chat > > Follow the steps below to preview your project in the Kombai Browser: > > 1. Ask Kombai in the chat to run your project. > 2. Once the server is running, a localhost link will appear in the chat stream. > 3. Click the link to load your project's preview in the Kombai Browser. If you want Kombai to autonomously control the browser, you can ask Kombai in the chat to perform your task in the browser. ## Extension UI Kombai Browser has a pre-installed extension that lets you update the UI with built-in tools and send the data back to the agent as context. The browser extension is divided into four parts: ### Chat selector The browser extension has a chat selector at the top that lets you choose which chat to send your messages to. You can either send your messages to an existing chat or start a new one. The selector has two sections: 1. **Send to an active chat**: Lists the chats you currently have open. Pick one, and your message is appended as the next message in that same thread, so the agent keeps all the context of that conversation. 2. **Send to a new chat**: Lists your [projects](/get-started/navigating-the-desktop-app#projects). Pick one, and your message starts a new chat inside that project. Use the search box at the top to filter chats and projects by name. ### Chat input window The chat input window is the main area where you can type messages and send them to the Kombai agent. All attached DOM elements and CSS changes are displayed at the top of this window. The send button offers two actions: 1. **Send to agent**: It sends your message and the attached context to Kombai immediately. 2. **Add to chat**: It stages the attached context in the Kombai chat without sending. ### Layers The **Layers** section, located below the chat input window, contains the entire DOM tree of the current page. Scroll within the Layers section to view the page's DOM structure. Click on an element to attach it to the chat input window. ### Design and CSS The **Design** and **CSS** tabs, located below **Layers**, let you visually edit the CSS of the current page, view a table of all applied CSS properties, and edit the CSS properties directly in the table. The visual editor includes the following capabilities: 1. **Text Styles**: Experiment with various font families, weights, sizes, colors, line heights, letter spacings, text alignments, and text cases. 2. **Appearance**: Change the opacity and corner radius of an element. 3. **Position**: Move elements across the X, Y, and Z axes or enable absolute positioning. 4. **Layout**: Edit the flow, dimensions, padding, and margin of an element. 5. **Background**: Add solid colors or gradients as backgrounds and adjust opacity. 6. **Border**: Add borders with solid colors or gradients and adjust the opacity, style, width, and direction. 7. **Shadow & Blur**: Add drop shadows, inner shadows, layer blurs, and background blurs to a UI element. 8. **Animation**: Choose from the available animation types and adjust duration, delay, timing, and iteration count. Once you have made your changes in the editor, click the **Send to agent** button to send the changes to the agent. ## Import cookies from Chrome profiles By default, the Kombai agent operates within its own dedicated Chrome profile to keep it separate from your regular web browsing. As a result, it appears as a distinct application in your dock and won't have any of your accounts logged in. To use your existing Chrome profiles, you need to import them into the Kombai Browser. When you import a Chrome profile, Kombai only downloads the cookies of that specific Chrome profile. > [!NOTE] > > The steps below are for macOS. On Windows (x64 desktop app only), see [Import on Windows](#import-on-windows). ### Import a Chrome profile Follow these steps to import an existing Chrome profile: 1. Open [Settings](/account/settings). 2. Navigate to the **Kombai Browser** tab. 3. If the **Profiles & Session Sync** section shows **Chrome profiles** with an **Allow** button, click **Allow** to let Kombai read your Chrome profiles. macOS may ask you to allow this. 4. Under, **Profiles & Session Sync** section, click the icon next to the profile you want to import. 5. Click **Proceed** and authenticate. 6. Click **Mark as Default** to make this profile the default in the Kombai Browser. If macOS blocks access, the section shows **Chrome profile access blocked**. In the desktop app, click **Allow** next to **Full Disk Access** and follow the guide to turn it on in System Settings; if Kombai asks, quit and reopen it to finish. In the IDE extension, follow the **Files & Folders** steps shown, then click **Check again**. ### How to make a profile default You can also make a Chrome profile default. This is handy when you work with multiple profiles inside the Kombai Browser. When you set a Chrome profile as the default in Kombai and launch the Kombai Browser, it will use the saved cookies from that default profile. To use another profile in the Kombai Browser, you need to make that profile default. Here's how to make a profile default: 1. Open [Settings](/account/settings). 2. Navigate to the **Kombai Browser** tab. 3. Under, **Profiles & Session Sync** section, hover over a profile. 4. Click the pin icon to make it default. The default profile shows a **Default** badge. To stop using it as the default, hover over it and click the unpin icon (**Unmark default**). ### Sync cookies When you import a Chrome profile, Kombai downloads your cookies at that specific time. If you later log into new sites in your regular Chrome browser, those sessions won't be available in the Kombai Browser automatically. Here's how to sync your cookies: 1. Open [Settings](/account/settings). 2. Navigate to the **Kombai Browser** tab. 3. Under **Profiles & Session Sync** section, click the icon next to the profile you want to resync. Hover over the icon to see when the profile was last synced. ### Delete an imported profile To remove the cookies Kombai imported from a Chrome profile, click the icon (**Delete profile data**) next to the profile in the **Profiles & Session Sync** section. Kombai deletes the cookies without asking for confirmation. If the profile was the default, the Kombai Browser stops using it as the default. Your profile in Chrome isn't affected. To use the profile again, [import it](#import-a-chrome-profile) again. ### Import on Windows On Windows, Chrome session import is available in the desktop app (x64 only) and works differently from macOS. Instead of keeping a list of synced profiles, Kombai imports your current signed-in Chrome session as a one-time snapshot, so logged-in pages work right away in the in-app browser. 1. Open [Settings](/account/settings) and navigate to the **Kombai Browser** tab. 2. Under **Profiles & Session Sync**, next to **Chrome sessions**, click **Import…**. 3. Choose the Chrome profile to import from and the Kombai profile to import into, then click **Import**. 4. Approve the Windows administrator prompt. > [!NOTE] > > Kombai can't yet import cookies from Chrome 157 or newer, because that version protects them in a way Kombai doesn't support. Earlier Chrome versions still work. ## Restart the browser server If the Kombai Browser stops responding, Kombai shows this error: ```text theme={null} Kombai browser tools stopped responding and could not be recovered. Use Restart to bring them back. ``` Click the action on the error to restart the browser server: **Restart Browser Server** in the desktop app, or **Restart** in the IDE extension. You can also restart it at any time: * **Desktop app:** Choose **View** > **Restart Browser Server**. On macOS, the **View** menu is in the menu bar. On Windows and Linux, click the menu button at the top of the sidebar to open the app menu. * **IDE extension:** Run **Kombai: Restart Browser Server** from the Command Palette. When the restart succeeds, Kombai shows **Kombai browser server restarted.** # In-app browser Source: https://docs.kombai.com/browser/in-app-browser Kombai can now access an in-app browser to navigate, interact, and perform tasks. In the Kombai desktop app, the Kombai Browser opens as a tab in your chat's [right panel](/get-started/navigating-the-desktop-app#right-panel) instead of in a separate Chrome window. You and Kombai's agent work on the same pages, next to the chat. The in-app browser is available only in the desktop app. The IDE extension always opens the Kombai Browser in a Chrome window. ## Open the in-app browser | From | Do this | | - | - | | Chat header | Click the icon (**Open Kombai browser**) in the [chat header](/get-started/navigating-the-desktop-app#chat-header). | | Right panel | Click the icon (**New tab**) and choose **Browser**. If the panel is empty, click **Browser**. Requires an open project. | | Chat | Click a localhost link that Kombai posts after it starts your project. | | Agent | Ask Kombai to do a task in the browser. | ## How browser pages work across chats Each chat has a separate browser session. Every page you or the agent opens in a chat belongs to that particular chat's session. The agent can only see the pages from the current chat. To have the agent work on a page that's open in another chat, open the page again in the current chat. ## Navigate a page Each page has a navigation row with the icon (**Back**), the icon (**Forward**), the icon (**Reload**), and an address field. While the page loads, the icon changes to the icon (**Stop**). Kombai treats what you type in the address field as an address, not a search. | Shortcut (page focused) | Action | | - | - | | ⌘ R / Ctrl R | Reload the page. Add Shift to reload without the cache. | | ⌘ = / Ctrl = | Zoom in. | | ⌘ - / Ctrl - | Zoom out. | | ⌘ 0 / Ctrl 0 | Reset zoom to **Desktop**. | | ⌘ W / Ctrl W | Close the page's tab. | Right-click a page's tab for **Duplicate Tab** and **Close All Tabs**, plus **Close Other Tabs** when more than one tab is open and **Close Tabs to the Right** when tabs follow it. If a page's address is an `https` link ending in `.png`, `.jpg`, `.jpeg`, `.webp`, or `.gif`, the icon (**Add this image to the chat**) appears in the navigation row of a chat you've already started. Click it to save the image to your project's `.kombai/assets` folder and add it to your chat. ## Select and snip Select an element or snip a region of the page and add it to your chat as context, without switching to **External Browser**. Both controls are icons in the page's navigation row. Hover over one to see its name and shortcut. | Icon | Shortcut | Action | | - | - | - | | icon (**Select elements to add to the chat**) | ⌘ ⌥ P / Ctrl Alt P | Click an element on the page to add it to your chat. Double-click a text element to edit it in place. | | icon (**Snip a region to add to the chat**) | ⌘ ⌥ S / Ctrl Alt S | Drag over an area of the page to add it to your chat. | Click the icon again, or press Esc, to stop. Both icons are disabled on a new tab or a crashed page. ## Edit elements and text Edit a page's text, styles, and layout right in the in-app browser, without switching to **External Browser**. * **Edit text:** Click the icon (**Edit page text**), or press ⌘ ⌥ T / Ctrl Alt T, to make every text element on the page editable, then click a text element to edit it. You can also double-click a text element while the icon (**Select elements to add to the chat**) is on, without turning on the icon. Click away, or press Esc, to stop. * **Edit styles, move, hide, or delete elements:** Turn on the icon (**Select elements to add to the chat**), then click the icon (**Edit panel**) that appears next to it, or press ⌘ ⌥ E / Ctrl Alt E, to open the edit panel. Click an element on the page, or a row in the panel, to select it. The edit panel shows: * A **layers tree** of the page. Drag a row to move its element, click its icon to hide or show it, or click its icon for **Copy selector** and **Delete**. * A **CSS inspector** below the layers tree, with **Design** and **CSS** tabs, for the selected element's styles. * At the top, the icon (**Undo**), the icon (**Redo**), the icon (**Discard all unsent edits**), and the icon (**Close edit panel**). Discarding all takes two clicks: the first shows **Discard all?** next to the icon, and the second discards. * A **Delete element** button at the bottom (disabled with nothing selected, or for the page's root element). Kombai refuses some edits: deleting the page's root element, or moving an element into its own subtree or somewhere it can't go. Edits you haven't added to the chat stay listed under **Not in chat**. On each one, click the icon (**Add to chat**) to add it, or the icon (**Discard these edits**) to drop it. While a page has such edits, its navigation row shows a **1 unsent edit** (or **N unsent edits**) button; click it to open the edit panel at that list. The edit panel has no text-editing control of its own. Use the icon (**Edit page text**), or double-click a text element while the icon (**Select elements to add to the chat**) is on. To close the edit panel, click the icon (**Edit panel**) again, or the panel's icon (**Close edit panel**). The panel also closes when you turn off the icon (**Select elements to add to the chat**). ## Set the page's screen size Click the zoom chip or the icon at the end of the navigation row, then pick a preset or set the zoom yourself: | Preset | Layout width | | - | - | | **Desktop** (default) | 1280px | | **Laptop** | 1440px | | **Tablet** | 768px | | **Mobile** | 390px | You can also use Cmd or Ctrl + −/+ to change the page zoom. ## Choose where the browser opens Each chat uses one of two browsers: * **New Tab**: The in-app browser described on this page. * **External Browser**: A separate Chrome window with the [Kombai Browser extension](/browser/get-started#extension-ui). To change a chat's browser, hover over the icon in the chat header and choose **New Tab** or **External Browser** from the menu that opens. A check marks the chat's current browser. Your choice opens a page and applies to that chat until you close it or restart the app. To open one in-app page in a Chrome window, click the icon at the end of the navigation row and choose **Open in Chrome window**. That chat then uses the Chrome window. Switching doesn't move pages that are already open. The agent keeps using any browser it already has open, and its next new browser opens in the chat's new choice. ### Set the default browser Chats you haven't picked a browser for use the **Default browser** setting: 1. Open [Settings](/account/settings) and go to the **Kombai Browser** tab. 2. Set **Default browser** to **New Tab** or **External Browser**. The setting applies the next time a chat opens a browser. ### What works in each browser The agent's browser tools — navigating, clicking, typing, screenshots, inspection, and audits — work the same in both. The browser extension's sidebar exists only in the Chrome window. | | New Tab | External Browser | | - | - | - | | [Agent browser operations](/browser/autonomous-agent-operations) | Yes | Yes | | [Select and snip](#select-and-snip) | Yes | Yes | | [Edit elements and text](#edit-elements-and-text) | Yes | No | | Extension sidebar: Web Capture, plus its own text editor, DOM editor, CSS editor, Layers, and Design tools | No | Yes | | Agent reads your element selections from the sidebar | No | Yes | To use Web Capture or the extension's own sidebar tools, switch the chat to **External Browser**. See [Capabilities](/browser/capabilities) for the sidebar tools. ## Sign-ins and cookies Sign-ins in the in-app browser persist across chats and app restarts. If you [imported a Chrome profile](/browser/get-started#import-cookies-from-chrome-profiles), its cookies apply to in-app pages too. Sites in the in-app browser can't use your camera or microphone, and other permission requests are denied, because the app has no permission prompt. To clear in-app sign-ins: > [!WARNING] > > Clearing also deletes the cookies you imported from Chrome profiles, including for the Kombai IDE extension. You can import them again from **Settings > Kombai Browser**. 1. Open [Settings](/account/settings) and go to the **General** tab. 2. Next to **Clear browser cookies and site data**, click **Clear**. 3. In the **Clear browser data?** dialog, click **Clear**. The row shows **Browser data cleared.** when it finishes. Open pages stay open, signed out. Signing out of Kombai also clears the in-app browser's cookies and site data, browsing history, and download list, but keeps the cookies you imported from Chrome. ## Browsing history and downloads The in-app browser keeps a history of every page you or the agent visit, and a list of your downloads. * While a download is running, and for a day after one finishes, the icon (**Downloads**) appears in the page's navigation row, ringed with the progress of running downloads. Click it to see recent downloads. Click a download's icon (**More actions**) for **Open**, **Show in Finder** (**Show in Explorer** on Windows, **Show in Folder** on Linux), **Copy Address**, **Copy Path**, **Cancel Download** (while it's running), and **Remove from List**. * Open [Settings](/account/settings), go to the **Kombai Browser** tab, and open **History** or **Download history** under **Browsing data** to review the full lists. * To remove this data, click **Clear…** next to **Clear browsing data** in the same section, choose any combination of **Browsing history**, **Download history**, and **Cookies and site data**, and click **Clear data**. ## New tab page A new browser tab opens on the **New tab** page instead of a blank page: * **Tools** shows tiles for Canvas Gallery, Changes, and Files, plus **More tools…** for Inspirations, Settings, Browsing history, and Downloads. * **Suggested** shows up to eight of the pages you visit most, weighted toward recent visits. Click one to open it in the current tab, or ⌘/Ctrl-click or middle-click to open it in a new tab. Click its **×** to remove it (and every visit to it) from your history. * On macOS, the New tab page shows an **Import data from Chrome** banner. Click **Import** to pick a Chrome profile and import its cookies, the same way as [importing a Chrome profile](/browser/get-started#import-a-chrome-profile). The banner stops appearing once you import or close it. ## FAQ > [accordion] Why can't I use Web Capture in the in-app browser? > > [Web Capture](/browser/capabilities#capture-sections-onto-your-design-canvas-with-web-capture) runs only in the browser extension, in a Chrome window. The in-app browser has [Select and snip](#select-and-snip) and the [edit panel](#edit-elements-and-text) for editing text, styles, and layout, but not Web Capture or the rest of the extension's sidebar. > > To use Web Capture, switch to **External Browser** in one of these ways: > > * **For the current chat:** Hover over the icon in the chat header and choose **External Browser**. > * **For all chats by default:** Change the [**Default browser** setting](#set-the-default-browser) to **External Browser**. # Overview Source: https://docs.kombai.com/browser/overview Kombai can launch, access, and operate a Chrome browser, enabling you to test development websites & web applications, and perform automated browser-based operations. It automatically downloads the browser the first time you set up Kombai. You can manually perform browser operations using the element selector, snipping, text-editing, DOM-editing, and Web Capture tools, along with a visual styles editor, inside the Kombai Browser Extension, or let Kombai autonomously control the browser to perform tasks and test applications. > [card] [Browser Extension](/browser/get-started) > > Use the Kombai Browser Extension to edit CSS, update text, and send DOM elements back to Kombai as context. > [card] [Autonomous agent operations](/browser/autonomous-agent-operations) > > Let Kombai autonomously navigate, click, and interact with web pages to > execute tests and tasks. # Add to chat Source: https://docs.kombai.com/context/add-to-chat Select text, code, or an image anywhere in Kombai and add it to your chat without retyping or re-attaching it. Instead of typing an [@Mention](/context/mentions), you can select something you're already looking at and add it to your chat directly. ## From an assistant's reply Highlight text in one of Kombai's replies. An **Add to chat** button appears above the selection; click it to add the text to your chat input as a quote. In the desktop app, you can also press ⌘L / Ctrl L. ## From the code editor In the desktop app, select one or more lines in a file open in [Browse Files](/get-started/navigating-the-desktop-app#browse-files). Click the **Add to chat** button above the selection, right-click the selection and choose **Add Selection to Chat**, or press ⌘L / Ctrl L, to add the selection to your chat input as a code reference. The button appears only for a file on disk. The same button appears over text you select in a Markdown file's preview, and adds the source lines behind that text. ## From an image In the desktop app, open an image in [Browse Files](/get-started/navigating-the-desktop-app#browse-files) and click **Add to chat** in the viewer to attach it to your chat. ## From a file tab In the desktop app, right-click an open file's tab for **Copy Path**, **Copy Relative Path**, or **Add to Chat** — the same actions available from the [file explorer](/get-started/navigating-the-desktop-app#file-actions). # Component Library Source: https://docs.kombai.com/context/component-library Kombai draws every reusable component in a Context Graph on its own canvas, in up to 8 states, and keeps the drawings in sync as your code changes, moves, or is deleted. When you index a [Context Graph](/context/context-graphs), Kombai draws every reusable component it finds on a canvas. Each component is drawn from its code in up to 8 states, such as its variants or sizes. From a drawing, you can open the component's source file or the designs that use it. ## Where to find it * **On the Context Graphs page::** open [Settings](/account/settings) and select the **Context Graphs** tab. When a Context Graph finishes indexing, its card shows a **Component library** section. * **In the Canvas Gallery:** a **Component library** entry appears beside the create tile, showing the components drawn across all of your libraries. * **From a design:** if a design uses an indexed component, select the component and choose **Go to component** to open its drawing. ## Turn off automatic drawing By default, Kombai draws a Component Library while indexing the Context Graphs. To index without drawing the Component Library: 1. Open [Settings](/account/settings). 2. Select the **Context Graphs** tab. 3. Turn off **Draw components while indexing**. You can draw the library later from the Context Graph's card without re-indexing. ## Draw, redraw, and resume A finished Context Graph's card offers these actions, depending on the library's state: * **Draw components:** draws the library for a Context Graph indexed with drawing turned off, or indexed before the Component Library existed. * **Resume:** continues a run that stopped partway, for example after a lost connection or running out of credits. It draws only the missing components. If nothing was drawn yet, the button reads **Try again**. * **Redraw changed:** redraws components whose code changed since they were drawn. * **Restore N deleted:** draws again the components you deleted from the library. * **Open library:** opens the Component library page. * **Stop:** stops a library that's drawing. > [!NOTE] > > Kombai draws every component a Context Graph finds. You can't choose which components get drawn. ## Manage a library Open a library with **Open library** on the Context Graph's card, or from its entry in the Canvas Gallery. * **View a component's source:** select the drawing and choose **View code**. This opens the file the component was drawn from, including files in an indexed NPM package or Storybook source. * **Delete a drawing:** select it and press `Delete`, or right-click it and choose **Delete**. Undo brings it back. After that, use **Restore N deleted** on the Context Graph's card. * **Code changed:** Kombai marks the drawing as changed. Use **Redraw changed** on the Context Graph's card to update it. * **Code removed:** the drawing stays in the library under **Removed** until you delete it or the component returns to the code. * **File moved:** Kombai follows the move and keeps the drawing linked. > [!NOTE] > > Library canvases hold only component drawings. They don't appear in the Canvas Gallery's canvas list or search. # Context Graphs Source: https://docs.kombai.com/context/context-graphs Kombai builds Context Graphs for the reusable code items (aka “reusables”) in your codebase, including components, stateful primitives (e.g. hooks, stores and modules), design tokens, types, and constants. This gives Kombai a deep, semantic understanding of your project and enables consistent reuse of these items during code generation. ## Introduction to Context Graphs Kombai's Context Graphs offer a purpose-built, domain-specific alternative to the vector-based indexing prevalent in the general-purpose coding agents. General-purpose agents typically use embedding models to generate embeddings for code snippets, and leverage vector databases to search for nearest embedding-based matches. While this is effective for finding mechanical similarity between text strings, it often misses the crucial, domain-specific context needed for frontend development - such as how a component actually looks and what it functionally does. Furthermore, it is practically impossible to add external dependencies (like custom npm component libraries) to these standard indices. As a result, these agents often struggle to find the appropriate code to reuse, particularly in mature, high-complexity repositories. They often hallucinate important aspects of the reusable code items (e.g. props of a component) or just skip reusing existing code, leading to unacceptably low code quality. Kombai adopts a more human-like method to understand the reusable parts of a repository. Given a source, Kombai first identifies the relevant reusable code items. Then, it builds a use-case-specific understanding of how they work, which it stores as a Context Graph. For example, for reusable components, the Context Graph includes their primary purpose, appearance, behaviors, props and dependencies. This approach results in better reuse of existing code, higher code quality and greater accuracy in complex tasks. ## Creating Context Graphs You can create Context Graphs by indexing either the source code or Storybook from current workspace and NPM packages. ### Index Reusable Source Code > [accordion] From Current Workspace > > You can index subfolders of your current workspace that contain supported reusables, to create their Context Graphs. > > Here's how to index source code from a subfolder: > > ![Current Workspace indexing](https://mintcdn.com/kombai-preview/Yjy-CA4HQVXqAf2Z/images/current-workspace-source.png?fit=max\&auto=format\&n=Yjy-CA4HQVXqAf2Z\&q=85\&s=f64d40a80bb29a86a3fdc41316dfb645) > > 1. Open [Settings](/account/settings). > 2. Select the **Context Graphs** tab from the left menu. > 3. Click the **Add your first context graph** / **+ Add New** button. > 4. Click **Reusable source code** -> **Current Workspace** in the modal. > 5. Browse and select a subfolder from your workspace to index and continue. > 6. Click **Build Context Graph**. > > Once all the components are indexed, they will appear in the UI as accordions. Click on an accordion to view a quick summary of Kombai's understanding of the components. > [accordion] From NPM Packages > > To build a Context Graph for a NPM package, index one of the following: > > * A local folder outside of this workspace that contains the source code of the package > * A URL of the git repository that contains the source code of the package > * In this case, the git credentials present in your current workspace must have cloning permissions of the git repository. > > Here's how to index source code from an NPM package: > > ![NPM Package indexing](https://mintcdn.com/kombai-preview/Yjy-CA4HQVXqAf2Z/images/npm-package-source.png?fit=max\&auto=format\&n=Yjy-CA4HQVXqAf2Z\&q=85\&s=c9f585d30ba7d39a93017c9aca879adf) > > 1. Open [Settings](/account/settings). > 2. Select the **Context Graphs** tab from the left menu. > 3. Click the **Add your first context graph** / **+ Add New** button. > 4. Click **Reusable source code** -> **NPM package** in the modal. > * Add your Git repository URL and the Branch and continue. > * If your NPM package source is stored locally, switch to **Local Folder** tab, add path to the folder or browse your folder and continue. > 5. Click **Build Context Graph**. > > Once all the components are indexed, they will appear in the UI as accordions. Click on an accordion to view a quick summary of Kombai's understanding of the components. ### Index Storybook We recommend you to use **Index Storybook** feature along with **Index Reusable Source Code** feature to get the best results. > [accordion] From Local Folder > > You can index a local folder from your system that contain your stories to create their Context Graphs. > > Here's how to index stories from a local folder: > > ![Local Folder Storybook indexing](https://mintcdn.com/kombai-preview/Yjy-CA4HQVXqAf2Z/images/local-folder-storybook.png?fit=max\&auto=format\&n=Yjy-CA4HQVXqAf2Z\&q=85\&s=2279c5fbc33f5aa5218a634f29aae036) > > 1. Open [Settings](/account/settings). > 2. Select the **Context Graphs** tab from the left menu. > 3. Click the **Add your first context graph** / **+ Add New** button. > 4. Click **Storybook** -> **Local Folder** in the modal. > 5. Browse and select a local folder from your system to index and continue. > 6. Click **Build Context Graph**. > > Once all the stories are indexed, they will appear in the UI as accordions. Click on an accordion to view a quick summary of Kombai's understanding of the components. > [accordion] From Git Repository > > To build a Context Graph using Storybook files from a Git repository, index the URL of the git repository that contains the stories. In this case, the git credentials present in your current workspace must have cloning permissions of the git repository. > > Here's how to index stories stories from a GitHub repo: > > ![Git Repository Storybook indexing](https://mintcdn.com/kombai-preview/Yjy-CA4HQVXqAf2Z/images/git-repository-storybook.png?fit=max\&auto=format\&n=Yjy-CA4HQVXqAf2Z\&q=85\&s=41f630ef3131b16fdf2a82f0e7b841b7) > > 1. Open [Settings](/account/settings). > 2. Select the **Context Graphs** tab from the left menu. > 3. Click the **Add your first context graph** / **+ Add New** button. > 4. Click **Storybook** -> **Git Repository** in the modal. > 5. Add your Git repository URL and the Branch and continue. > 6. Click **Build Context Graph**. > > Once all the components are indexed, they will appear in the UI as accordions. Click on an accordion to view a quick summary of Kombai's understanding of the components. > [!NOTE] > > Index Storybook feature is currently available to our users on Team plan. ### Use ContextRules to provide custom instructions for the indexing process During the indexing process to build Context Graphs, Kombai analyzes a given source to identify relevant reusables based on established coding patterns (e.g. `index.ts` or `index.js` to identify exported components). To provide additional guidance on how Kombai should identify reusable code items from your repo, you can specify relevant instructions in a `ContextRules.md` (filename not case sensitive) file in the `./.kombai/rules/` folder in your workspace. This is particularly useful when Kombai indexes a repo but misses out on some code elements you consider to be reusable. You can check the list of reusable items returned by Kombai after indexing to spot such gaps, add appropriate instructions in the `ContextRules.md` file and re-index the source. ### Component Library When you index a Context Graph, Kombai also draws its reusable components on a canvas. See [Component Library](/context/component-library). ### Multiple Context Graphs You can index multiple sources in Kombai, to create a separate Component Graph for each source (e.g. a local folder and a private npm package). For a given task, the agent has access to all the Context Graphs available in the current project. ## Managing Context Graphs ### Re-indexing Context Graphs To manually update a Context graph, select the **Rebuild** option for the related card in **Context Graphs** page. When this option is selected, Kombai will rerun the indexing process to create a Context Graph from the latest version of the source code. If building a Context Graph was paused, the actions menu () on its card also shows **Restart**, which continues the build. ### Removing context graphs To remove a Context Graph, click the actions menu () on the related card in the **Context Graphs** page and select **Remove**. Once removed, the agent won't consider the said Context Graph for future tasks. ### Using `stack.json` to sync Context Graphs If the [`Sync with stack.json`](/features/overview#stack-json-file) toggle on the Tech Stack page is turned on, Kombai will automatically save the type, path, and name of the indexed Context Graphs to this file. Once you push this file to your remote Git repository, Kombai will automatically detect the Context Graphs from `stack.json` for all team members working on this repository. ## Using Context Graphs For any given task, Kombai's coding agent can automatically access all indexed Context Graphs. You can also attach specific items from the Context Graphs by using the `Indexed Context Items` option in the `@` menu of the chat input. Context Graphs are used by Kombai in conjunction with other available contexts and instructions, such as prompts, rules, commands, skills and local files found via agentic search. You can provide additional instructions on how the agent should use the indexed context via prompts and rules. ## How it works Kombai follows a two step process to build Context Graphs, all executed via dedicated subagents. ### Phase 1: Discovering reusable code items #### In current workspace When a user inputs a folder in the current workspace, Kombai discovers all the code items that are likely to be reused. To understand what might be reusable, it relies on common naming conventions and organizational structures across different frameworks and languages as well as contextual inference on the project's conventions. Below are the major types of reusable items it looks for: * UI Components (from extensions like `.tsx`, `.jsx`, `.vue`, `.svelte`, `.cljs` etc.) * Hooks (for React), Composables (for Vue) and Modules (for Angular) * State Management: e.g. Redux slices (`*.slice.ts`), Zustand stores, Jotai atoms (`*.jotai.ts`), and Kea logic files (`*Logic.ts`) etc. * Utility and Helper Functions * Design Tokens and Styling * Icons and Assets * Type Definitions * Services and API Clients * Other Specialized Patterns: e.g. GraphQL operations, internationalization (i18n) locale files, form systems, chart components, and animation data (Lottie JSON) #### In NPM packages When a user inputs a NPM package, Kombai analyzes all exports in a two substeps, and tries to figure out all the code items that are reusable. First, it discovers all the entry points by analyzing the configuration layer of a package to determine how it exposes its functionality to consumers. Below are some of the analyses it performs in this step: * **Manifest Analysis:** reads `package.json` to find `main`, `module`, `exports`, `types`, and `style` fields. * **Subpath Mapping:** It maps export subpaths (e.g., `./components`, `./hooks`) to their corresponding source files. * **Build Config Correlation:** If entry points point to distribution folders (e.g., `dist/`, `lib/`), the agent correlates them with source directories (e.g., `src/`) to find the original implementation. * **TypeScript Resolution:** Analyzes `tsconfig.json` to resolve path aliases (e.g., `@/*` -> `src/*`) and identify root directories. * **Monorepo Detection:** Detects if the root is a monorepo (Lerna, Nx, Turborepo, Pnpm Workspaces) and can selectively index sub-packages. Then, it recursively follows the logical flow of code, and not just the physical directory tree, to identify all the export. Below are some of the analyses it performs in this step: * **Re-export Traversal:** If an entry point (like `index.ts`) simply re-exports from other files, the agent follows those paths until it finds the actual definitions. * **External vs. Internal:** It distinguishes between items implemented within the package and those re-exported from third-party `node_modules`. External re-exports are indexed with metadata pointing to the original package. * **Cycle Detection:** The agent maintains a traversal chain to prevent infinite loops in complex re-export structures. * **Framework specific support:** It detects and processes framework specific code patterns. E.g. it processes `ng-package.json` files for Angular libraries, ensuring correct entry point discovery for the Angular ecosystem ### Phase 2: Creating semantic context for each reusable item Once the reusable code items are identified, Kombai analyzes them using parallel subagents to develop an easily reusable context for each of them. The agent reads the source to extract semantic meaning, determining not just the name but their purpose, usage, behaviors and dependencies. Each item is also assigned a **Type** (component, hook, function, store, etc.) and a **UI Category** (layout, navigation, data display, etc.). ## Troubleshoot > [accordion] I'm getting an error message while trying to build a Context Graph from a Git URL of a NPM package. How can I resolve this? > > Please make sure that following pre-requisites are fulfilled: > > * The git url is of a valid repo - this should typically be of the format [https://github.com/\{org}/\{repo}.git](https://github.com/\{org}/\{repo}.git) > * The branch name used is of a valid branch > * The git credentials present in your system has view permissions for the Git URL and branch you are trying touse > * Once these pre-requisites are confirmed, please retry running the indexing process. > > If you are getting an error that indicates that the process was timed out, it might be because the target repository is too large. In that case, please try selecting one of the subpackages from the subpackage selection menu that comes up after you enter the url. > > If you face persistent errors, please reach out to `support@kombai.com` with a screenshot and details of the error you are facing. > [accordion] I'm getting a message that Kombai couldn't find any reusable items from my code source, after the indexing process for building a Context Graph is complete. > > This message means Kombai likely needs additional guidance to understand the patterns of the reusable code items in your source. Please see [this](#use-contextrules-to-provide-custom-instructions-for-the-indexing-process) section for more details. > > If the issue persists, please reach out to [support@kombai.com](mailto:support@kombai.com) with a screenshot, details of the source you are trying to index and patterns of the reusable code items (e.g. components, hooks or types) in that repo. # Memory Source: https://docs.kombai.com/context/memory Kombai saves your preferences, build and test quirks, and project facts as memories, and recalls them in later chats in the same project. Memory lets Kombai remember your preferences, build and test quirks, and project facts across chats in a project, so you don't have to repeat them in every new chat. Memory is on by default and is available in both the desktop app and the IDE extension. ## Memory in chat When Kombai uses its memory during a chat, a row appears in the chat with the memory's name: * **Recalled memory**: Kombai read a saved memory. * **Created memory**: Kombai saved a new memory. * **Updated memory**: Kombai changed a saved memory. * **Deleted memory**: Kombai removed a saved memory. ## Review and delete memories 1. Open the [Settings](/account/settings) page. 2. Select the **Memory** tab. It lists the memories saved for the open project, with each memory's name, description, and when it was last updated. 3. Click a memory to open and edit it, or hover over it and click the icon to remove it. Kombai stores each project's memories as Markdown files in a folder for that project under `~/.kombai/memory/`, with a `MEMORY.md` file that indexes them. Files without a description, such as notes a memory refers to, are listed as **Supporting file**. ## Turn memory on or off In the **Memory** tab of [Settings](/account/settings), use the **Auto memory** toggle to turn memory on or off. The setting applies at the project level and is shared by the desktop app and the IDE extension. Turning **Auto memory** off stops Kombai from reading or writing memory in that project. Memories that are already saved are kept. # @Mentions Source: https://docs.kombai.com/context/mentions `@Mentions` lets you attach Canvas designs, individual designs, Excalidraw diagrams, Figma links, files, folders, images, indexed items, and terminals to the context. > [!NOTE] > > To attach a selection you're already looking at — in a reply, the code editor, an image, or a file tab — without typing `@`, see [Add to chat](/context/add-to-chat). ## @Canvas Use `@Canvas` to attach a Canvas from [Design Mode](/design/canvas) to the Kombai chat. Type `@Canvas` in the chat input, then select the Canvas you want to attach. > [accordion] Generate layouts > > Provide context for full-page layouts, including sidebars, headers, and main content areas. > [accordion] Consistency checks > > Verify layout patterns and design consistency across all designs within a specific Canvas. ## @Designs Use `@Designs` to attach individual designs from a Canvas to the Kombai chat. Type `@Designs` in the chat input, then select the design you want to attach. > [accordion] Component generation > > Reference individual designs for precise code generation of specific pages or complex components. > [accordion] Iterate on designs > > Request specific modifications, style updates, or additions to an existing design in your Canvas. ## @Excalidraw Use `@Excalidraw` to paste Excalidraw elements into the Kombai chat. Type `@Excalidraw` in the chat input to open a **Paste JSON** dialog where you can paste copied Excalidraw elements. The pasted content is sent to Kombai as a JSON context that it can interpret and work with. > [accordion] Generate code from wireframes > > Provide hand-drawn wireframes or UI sketches as visual context to generate functional code and layouts. > [accordion] Iterate on architecture diagrams > > Refine, extend, or modify existing architecture diagrams and flowcharts by pasting them back into the chat. > [!NOTE] > > You can also paste copied Excalidraw elements directly into the chat input without using the `@Excalidraw` menu. ## @Figma Use `@Figma` to attach Figma links to the Kombai chat. Type `@Figma` in the chat input, then paste the Figma link you want to attach. > [accordion] High-fidelity generation > > Reference Figma links for high-fidelity code implementation that matches your design's layout and styling. > [accordion] Define component states > > Tag multiple Figma designs to explain how the app should look in different states like Loading, Error, and Success. > [accordion] Query design details > > Ask specific questions about layout, spacing, or color choices within your linked Figma design. > [!NOTE] > > You can also copy one or more frames in Figma and paste them directly into the chat input as snapshot attachments, without exporting and re-uploading images by hand. Kombai keeps a pasted snapshot for 30 days. If you try to send one after it expires, Kombai asks you to copy the layers again. ## @Files Use `@Files` to attach files from your codebase to the Kombai chat. Type `@Files` in the chat input and press Enter to browse and select your files. To search your project instead, type `@` followed by part of the file name and pick a result. > [accordion] Code analysis > > Get explanations for complex logic or request refactoring of large components into smaller, reusable parts. > [accordion] Implementation context > > Attach specific files to provide implementation details, configuration constants, or architectural context for new code generation. You can also attach files from outside your project through the file picker. Kombai can read those files but not edit them. > [!NOTE] > > You can also drag and drop files into the input box. In the IDE extension, > typing `@` also lists your three most recently opened files. ## @Folders Use `@Folders` to attach codebase folders containing multiple files to the Kombai chat. Type `@Folders` in the chat input and press Enter to browse and select your folders. > [accordion] Broad scaffolding > > Reference a folder before asking Kombai to scaffold a new feature following that folder's existing structure and patterns. > [accordion] Multi-file logic > > Ask questions that require connecting logic and data flow across several related components or files. ## @Image Use `@Image` to attach an image, such as a screenshot or a mockup, to the Kombai chat. Type `@Image` in the chat input and press Enter, then select a `.jpg`, `.jpeg`, `.png`, or `.webp` file. You can also paste an image into the chat input, or drag an image file into it. ## @Indexed Items Use `@Indexed Items` to attach specific items from your [Context Graphs](/context/context-graphs) to the Kombai chat. Type `@Indexed Items` in the chat input, then select the item you want to attach. > [accordion] Explicit component selection > > Manually select specific indexed components or hooks you want Kombai to use for a particular task. > [accordion] Ask specific questions > > Ask about the props, internal logic, or implementation details of a specific indexed item. ## @Terminals > [!NOTE] > > `@Terminals` is available only in the [IDE extension](/get-started/set-up/ide-extension). Use `@Terminals` to attach the terminal state (logs, errors, and output) to the Kombai chat. Type `@Terminals` in the chat input, then select the terminal you want to attach. You can also select a portion of the terminal output, right-click, and **Add to Kombai** to attach it to the chat. > [accordion] Debug conflicts > > Resolve peer dependency warnings, version mismatches, and installation failures with lockfile conflicts. > [accordion] Debug runtime errors > > Troubleshoot build failures and API route errors using logs and error messages directly from your terminal. # Compaction Source: https://docs.kombai.com/context/thread-compaction Longer conversations in a single thread can exceed the model’s context window, leaving you unable to continue with that thread. Compaction solves this by condensing older messages in a thread into a high-density summary. This immediately restores available tokens upto a certain extent, letting you continue with the thread for a longer period of time. It also allows the Agent to focus fully on your most recent queries while maintaining a clear understanding of the thread history. ## When is compaction triggered Kombai monitors your context usage in a thread and dynamically decides the best points to compact context. Below are two common scenarios when Kombai will trigger compaction automatically: * **Context window saturation:** When the thread consumes the majority (typically above 90%) of the available context window. * **Cache expiry:** To optimize costs, Kombai auto-compacts the thread when the cache is close to expiring and context usage is at 50-60%. Some examples of cache expiry include switching the **model** and changing the **thinking effort**. > [!NOTE] > > If you edit or restore a message, the previous compaction is reset, which may temporarily increase context usage. As you continue the conversation, Kombai will re-evaluate and trigger compaction again if necessary. ## How context is managed The context window is shared across several elements beyond your message history: * **Infrastructure overhead:** Tools, system prompts, skills, and RAG attachments typically occupy 15–35% of the window, depending on your tech stack. * **Persistent rules:** Project and User Rules are never compacted. They remain in their full form to ensure the Agent strictly adheres to your constraints at all times. ## Toggle auto-compaction Compaction is enabled by default. If you prefer to manage the context window manually, you can disable **Auto compact threads** on the **General** tab under [Settings](/account/settings) page. ## Manually compact a thread You can trigger compaction at any time by clicking the icon at the end of your thread and selecting **Compact thread**. ## Why compact a thread 1. **Extended conversations:** Restore available tokens to maintain a single, continuous thread for long-term projects. 2. **Optimized performance:** Experience faster response times as compaction will reduce the massive overhead of uncompressed history. 3. **Preserved context:** Retain critical information and decision points through intelligent summarization while discarding redundant data. 4. **Cost efficiency:** Dramatically reduce token consumption in API calls by compressing the massive context. # Canvas Source: https://docs.kombai.com/design/canvas Create, organize, edit, and export designs on the Kombai Canvas. Every design you create in Kombai is stored in a Canvas. It is where you interact with your designs, iterate on them, and access the rest of the Design Mode features. ## Open a Canvas There are two ways to open a Canvas in Design Mode: * **Prompt Kombai directly:** Ensure Design pill is selected in the chat input and describe what you want to build. Kombai will generate the design in a Canvas and open it automatically. * **Create one manually:** Click the **Designs** button below the chat input to go to the Canvas Gallery page. Click **Create a new canvas**, select a folder, enter a name for the canvas, and click the **Create** button. ## Canvas Gallery The Canvas Gallery page is the central hub for managing all your designs. It shows all your canvases as cards. To open the Canvas Gallery, click the **Designs** button below the chat input. From there, click **Create a new canvas** to start a new one, or click a canvas card to open an existing one. To find a canvas, type in **Search canvases** (press `⌘K` or `/` to focus it). Use the sort menu to order canvases by **Alphabetical**, **Date created**, or **Last edited** (the default), and switch between **Grid view** and **List view**. If you've indexed a [Context Graph](/context/context-graphs), a **Component library** entry appears next to the create tile. See [Component Library](/context/component-library). ## Organize canvases with folders Canvases can be stored in folders to keep large projects tidy. These folders are created inside your project directory, so your canvas organization is reflected in your repo as well. You can even use folders excluded by your `.gitignore` to organize canvases. ### Create a canvas in a folder 1. Open the Canvas Gallery and click **Create a new canvas**. 2. In the dialog, click the **Folder** field to pick a folder, or type a path to create one inline. 3. Enter a **Name** and click **Create**. ### Browse canvases by folder If **All Canvases** is selected in the top folder dropdown in the Canvas Gallery, the page lists all your canvases as cards. To filter the list to a specific folder, click the top folder dropdown on the Canvas Gallery page and select a specific folder. The list will update to show only canvases in that folder. ### Move or rename a canvas * **From the gallery:** open the canvas card's **⋮** menu and choose **Move to folder…** or **Rename**. Moves apply immediately and can be undone from the confirmation toast. * **From the canvas editor:** use the folder path in the breadcrumb bar to move or rename the canvas you have open. ### Delete a canvas > [!WARNING] > > Deleting a canvas removes its `.canvas` file from your project right away. > Kombai doesn't ask for confirmation, and you can't undo it from the app. On the Canvas Gallery page, open the canvas card's **⋮** menu and choose **Delete**. ## Canvas toolbars The Canvas has a **bottom toolbar**, a **top toolbar**, a **document actions bar**, and a **zoom bar**. The bottom toolbar is always visible, floating at the bottom center of the Canvas. The top toolbar floats beside your selection, with controls for the selected design, drawing, text, or frame. The document actions bar sits at the top right, and the zoom bar floats at the bottom right. ### Bottom toolbar The bottom toolbar gives you access to Canvas navigation tools and the core Design Mode features. | Icon | Action | Shortcut | | - | - | - | | / | **Select** to interact with designs on the Canvas (default), or **Pan** to click and drag around the infinite Canvas. A single merged control — click the caret to switch modes. | V / H | | | Snip a portion of the design and attach it to the chat window. | S | | | **Edit** any element in a design using the [quick-edit bar](#quick-edit-an-element) or the full [design editor](./editor) panel. | E | | | **Draw** – Add text, frames, shapes, and freehand strokes to the canvas. Opens the [draw tools](#draw-tools) bar. | D | | | Add comments on your designs. Use comments to leave feedback or notes for yourself or your team. | C | #### Draw tools **Draw** is a canvas markup and sketching tool that lets you quickly outline concepts, annotate layouts, and diagram flows directly on your workspace. Press `D` or select **Draw** to open the drawing bar above the bottom toolbar. Use Draw to add text, shapes, frames, and freehand strokes. Select a drawn object to access its editing and styling controls in the [top toolbar](#top-toolbar). | Tool | What it does | Editing and styling | | - | - | - | | **Select** | Selects and moves drawn objects without leaving Draw mode. | Controls depend on the selected object. | | **Text** | Adds annotations, labels, or notes. | Change the font, text color, and font size, or apply bold, italic, and underline formatting. | | **Frame** | Creates a container that groups drawn objects. | Double-click the frame name to rename it. Open **Style** to change its background and border colors. | | **Rectangle**, **Circle**, **Diamond** | Creates geometric shapes. | Change fill and stroke colors, or open **Style** for stroke width and style. Use **Add text** to add a label; click an existing label in the toolbar to edit it. | | **Arrow**, **Line** | Adds connectors for sketching flows between designs. | Open **Style** to change the stroke color, width, and style. | | **Free draw** | Adds freehand strokes. | Open **Style** to change the stroke color, width, and style. | Every element you create functions as a canvas object that can be grouped, attached to chat, or converted directly into a design. > [!NOTE] > > Frames and shapes can be drawn on empty canvas areas or over other drawn > objects, but not inside a generated design. #### Grouping elements with Frames Frames act as containers for your canvas elements. Any text, shape, or stroke created inside a frame automatically becomes a child element and moves, duplicates, copies, deletes, and exports with it. ### Top toolbar The top toolbar is a floating action bar that appears when you select an object in the canvas. It appears above the selected design or drawn object, or below it when there isn't enough room above. Its controls change based on what you select. #### Select a single design The top toolbar shows **Add to chat**, **Open in browser**, [**Export**](#export-a-design), **Generate**, and **Code design**. If you select an element inside a design, the toolbar switches to **Add element to chat** and **Code element**. These actions apply to the selected element, not the whole design. #### Quick-edit an element To make a quick style change without opening the full [design editor](./editor), switch to the **Edit** tool (`E`) and click an element in a design. The top toolbar turns into a quick-edit bar with these controls: * **Add to chat** adds the element to your chat. * The font control sets the font family, weight, size, line height, and letter spacing. * The text color control sets the element's text color. * For text elements: bold, italic, underline, link, and alignment. * For all other elements: background color, padding and margin, border radius, and border. * **Open edit panel** opens the full design editor. Quick edits aren't saved right away. While the edit panel is closed, a strip at the top of the canvas shows how many unsaved edits you have. Use **Undo** and **Redo** to step through them, **Discard** to drop them, or **Save** to save every edited design. > [!NOTE] > > Parts of a design marked as dynamic show **Locked** and can't be quick-edited. > To change one, [edit it with AI](./editor#edit-locked-layers-with-ai). #### Select multiple designs The top toolbar shows **Add to chat**, **Open N tabs**, **Export**, and **Code designs** when you select multiple designs. The actions apply to the whole selection, not individual designs. #### Select a Draw tool item The top toolbar shows **Add to chat** alongside text formatting, color controls, **Style**, **Add text**, or the frame name, depending on the selected item. See [Draw tools](#draw-tools) for each item's editing and styling options. ### Document actions bar The document actions bar holds actions for the whole Canvas. While something is selected, its buttons collapse to icons. | Button | Action | | - | - | | **Add** | Opens a menu with **Import HTML…** (`⌘I`), which imports one or more `.html` files from disk as designs; **Import Figma file…**, which imports a page from a saved `.fig` file; and **Create blank node**, which adds an empty design. | | **Inspirations** | Opens the [Inspirations](/features/inspirations) library as a panel beside your designs. | | **Share** | Opens the **Collaborate on design** modal to share your canvas and Design Systems with your team. See [Collaboration](/design/collaboration) for details. | **Import HTML…** isn't available when the Canvas is open in a standalone browser tab. ### Zoom bar The zoom bar shows the current zoom level. Click it to open a menu with these options: | Option | Shortcut | | - | - | | **Zoom In** | + | | **Zoom Out** | − | | **Zoom to 100%** | ⇧0 | | **Zoom to Fit** | ⇧1 | | **Zoom to Selection** | ⇧2 | | **Open in browser** / **Open in Editor** | | | **Help** | | **Open in browser** appears when you view the Canvas in the desktop app or IDE, and **Open in Editor** appears when you view it in the browser. **Help** opens these docs. ## Node header Each design on the Canvas has a header with its name and these controls: * **Viewport presets:** Switch the design to **Content height**, **Mobile** (375 × 812), or **Desktop** (1440 × 800), the same presets as the right-click **Viewport** submenu. **Content height** appears only when the design's frame doesn't already match its page height. With several designs selected, a preset applies to all of them. * **Focus node:** Zoom to the design so its width fills most of the Canvas, up to 100%, and select it. A tall design is aligned to its top. * **Scroll position:** For a fixed-height design whose page is taller than its frame, a track shows where you are on the page. Drag it to scroll the design. When you zoom far out, the header hides some of these controls to fit. ## Attach Canvas and Designs in chat You can attach an entire Canvas or individual designs to the Kombai chat as context for code generation or design questions. **Attach a Canvas:** 1. Type `@Canvas` in the chat input. 2. Select the Canvas you want to attach. 3. Write your prompt and send. **Attach a Design:** 1. Type `@Designs` in the chat input. 2. Select the individual design you want to attach. 3. Write your prompt and send. ## Right-click menu options ### Right-click on a design Here are the options you see when you right-click on a design within the Canvas: | Option | Shortcut | Description | | - | - | - | | Add to context | | Attach the selected design to the chat window as context. | | Focus | ⇧2 | Bring the selected design into focus on the Canvas. | | Cut | ⌘X | Cut the selected design. | | Copy | ⌘C | Copy the selected design. | | Paste | ⌘V | Paste a copied design onto the Canvas. | | Duplicate | ⌘D | Duplicate the selected design. | | Reload | ⌥⌘R | Re-render the design from scratch and refresh its screenshot. | | Delete | delete | Delete the selected design. | | Order | | Change the stacking order of overlapping elements. See [Order](#order). | | Viewport | | Resize the design to a preset or custom dimension. Opens a submenu with **Content Height** (full natural height), **Mobile** (375 × 812), **Tablet** (768 × 1024), **Desktop** (1440 × 800), and **Custom...** | | Generate Versions | | Generate device- or mode-specific versions of the selected design. See [Generate Versions](#generate-versions). | | Generate Variants | | Generate a new variant of the selected design by targeting specific aspects for improvement. See [Generate Variants](#generate-variants). | | Regenerate Design | | Regenerate the selected design from scratch using the same original prompt. | | Edit | | Opens a submenu with **Edit Design**, which activates the Edit tool to adjust the design in the [design editor](./editor) panel. | | Open in browser | | Opens a submenu with **Open** (opens the design in the browser) and **Copy Link** (copies a shareable link to the design). | | Export | | Opens a submenu with **Copy as PNG**, **Copy as HTML**, [**Copy to Figma**](#copy-to-figma), **Save as PNG**, and **Save as HTML**. | | Apply | | Opens an **Apply** submenu listing your saved Design Systems. Select one to regenerate the design using its tokens. | | Select element | | Enter element selection mode to select an individual element within the design. | ### Right-click on multiple designs When you select several designs and right-click the selection, the menu applies to every selected design: | Option | Description | | - | - | | **Add to context** | Attach all selected designs to the chat window as context. | | **Send to a new chat** | Start a new chat in this project with the selected designs attached as context. | | **Focus**, **Cut**, **Copy**, **Paste**, **Duplicate**, **Reload** | The same actions as for a single design. | | **Order** | Change the stacking order. See [Order](#order). | | **Arrange** | Lay out the selected designs in a **Row**, **Column**, or **Grid**. | | **Viewport** | Apply a viewport preset to every selected design. **Custom…** is available only for a single design. | | **Open in browser** | **Open N tabs** opens each design in its own browser tab. **Copy Link** is available only for a single design. | | **Export** | Save or download every selected design. **Copy as PNG**, **Copy as HTML**, and **Copy to Figma** are available only for a single design. | | **Apply** | Regenerate every selected design using the Design System you pick. | | **Delete** | Delete the selected designs. | ### Right-click on an element When you select a specific element within a design using the **Edit** tool, right-clicking on it shows the following options: | Option | Description | | - | - | | Add element to context | Attach only the selected element to the chat window as context. | | Generate Image | Generate an AI image for the selected element. | | Generate Video | Generate an AI video for the selected element. | | Remove formatting | Replace the element's nested formatting, such as bold text and links, with plain text. Shown for text elements only. | | Delete element (⌫) | Delete the element from the design. | ### Right-click on a drawn object Right-clicking an object created with the [Draw tool](#draw-tools) opens a context menu. What it holds depends on whether you right-click a single object or a multi-selection, and a frame carries two differences of its own. | Option | Description | | - | - | | **Add to context** | Attach the object to the chat window as context. | | **Send to a new chat** | Start a new chat in this project with the object attached as context. | | **Focus** | Bring the object into focus on the Canvas. | | **Cut**, **Copy**, **Paste**, **Duplicate** | The standard clipboard actions, also available as keyboard shortcuts. | | **Order** | Adjust the layer stacking order relative to overlapping elements. See [Order](#order). | | **Convert to design node** | Turn the object into an editable design on the Canvas. | | **Delete** | Delete the object. | A frame's menu differs in two ways: it adds **Rename**, and its **Delete** removes the frame's child elements along with it. When you right-click a selection of drawn objects, the menu holds **Convert to design node**, **Order**, **Focus**, **Arrange** (**Row**, **Column**, or **Grid**), and **Delete**. If the selection has two or more text items or drawings, it also shows **Group in frame**, which wraps them in a new frame. ### Order **Order** controls the layer stacking of overlapping elements on a design. Right-click on an element to check the stacking options: | Option | Effect | | - | - | | **Bring to Front** | Moves the selection to the top of the layer stack. | | **Bring Forward** | Moves the selection up one layer. | | **Send Backward** | Moves the selection down one layer. | | **Send to Back** | Moves the selection to the bottom of the layer stack. | Options are disabled when an action would have no effect (for example, **Bring to Front** on an object that is already frontmost). **Stacking inside frames:** Child elements stack exclusively within their parent frame and cannot be raised above objects outside it. Attempting to do so prompts **Bring frame to front**, which raises the entire frame along with all of its child elements. ### Right-click on an empty area Here are the options you see when you right-click on an empty area of the Canvas: | Option | Shortcut | Description | | - | - | - | | Create blank node | | Add an empty design where you right-clicked. | | Import HTML… | ⌘I | Import one or more `.html` files from disk as new designs on the Canvas. | | Paste | ⌘V | Paste from the clipboard. See [Paste or drop content](#paste-or-drop-content). | | Zoom in | | Zoom into the Canvas. | | Zoom out | | Zoom out of the Canvas. | | Focus | ⇧2 | Bring the selected design into focus on the Canvas. Disabled when nothing is selected. | The first three options sit under **Add to canvas** and the rest under **View**. **Import HTML…** isn't available when the Canvas is open in a standalone browser tab. ## Paste or drop content You can add content to the Canvas from your clipboard or from files: * **Copied Canvas items:** Press `⌘V` to paste designs, drawings, text, or frames you copied or cut on a Canvas. * **Figma layers:** Copy a layer, frame, or selection in Figma Design, then paste it (`⌘V`) onto the Canvas. Shapes, text, and images come across with their styling and positioning. Component instances arrive as plain layers with their overrides applied. If Kombai has to approximate or drop something, such as a complex mask or an effect CSS can't reproduce, it shows a warning. > [!NOTE] > > Kombai fetches a Figma paste's images through your Figma connection. If your > account isn't connected, Kombai shows **Connect Figma to include images** > before every Figma paste: click **Connect Figma** to [connect your > account](/features/figma-to-code#connect-figma) and paste again, or **Continue > without images** to paste the layers with placeholders instead of their image > fills. Closing the dialog cancels the paste. * **Images:** Paste an image from the clipboard, or drag image files onto the Canvas. Each image becomes an image object at the pointer position. * **HTML:** Paste HTML markup to create a design from it. * **Figma files:** Drag a `.fig` file (saved from Figma via **Save local copy…**) onto the Canvas, or choose **Add > Import Figma file…**. If the file has more than one page with content, Kombai asks which page to import; that page's visible top-level layers land as designs on the Canvas, keeping their original layout. You can't import individual frames from within a page. If the clipboard holds only plain text, Kombai shows **Nothing to paste**. To add plain text, use the **Text** tool in [Draw tools](#draw-tools). ## Export a design In the desktop app or IDE extension, save a design as PNG or HTML anywhere on your computer through your system's native save dialog: 1. Right-click the design and choose **Export > Save as PNG** or **Export > Save as HTML**. You can also use **Export** in the design's toolbar. 2. In the save dialog, choose a location and name, then save. > [!NOTE] > > Saving as HTML always bundles the design's local assets: if the design has any images, Kombai saves a folder with `index.html` and an `assets/` directory, so the folder keeps working after you move or share it. A design with no images saves as a single `.html` file instead. When multiple designs are selected, Kombai opens a save dialog for each design, one after another. If you cancel a dialog, Kombai skips that design and doesn't save the remaining designs either. To copy a single design to your clipboard, choose **Export > Copy as PNG** or **Export > Copy as HTML**. To paste it into Figma as editable layers, use [Copy to Figma](#copy-to-figma). If the Canvas is open in a browser instead of in the desktop app or your IDE, **Export** shows **Download as PNG** and **Download as HTML** in place of the save options, and the browser downloads the files. This happens when you choose **Open in browser** from the [zoom bar](#zoom-bar) menu, or, in the IDE extension, when the **Open canvas in browser** [setting](/account/settings) is on. ### Copy to Figma Copy a single design into Figma as editable layers: frames (with auto layout where it can be reproduced), text, vectors, and image fills. **Copy to Figma** is unavailable when more than one design is selected. 1. Right-click the design and choose **Export > Copy to Figma**. You can also use **Export** in the design's toolbar. 2. Wait while Kombai shows **Preparing Figma layers…**. 3. When Kombai shows **Copied for Figma — paste it into a Figma file**, paste in Figma with ⌘V. #### Troubleshoot Copy to Figma If the copy doesn't go through cleanly, Kombai shows one of the following messages instead of the success message. **1. Copied for Figma, with gaps** Kombai copied the design but left some parts out. You can still paste it in Figma. The message lists one or more of these gaps: | Gap | Why it happens | What to do | | - | - | - | | Images left out | Kombai couldn't load these images. | Add them in Figma after you paste. | | Icons left out | Kombai couldn't draw these icons, because their icon font couldn't be loaded or the icon pointed to nothing. | Add them in Figma after you paste. | | Fonts to install | The design uses fonts that Kombai couldn't load, so Figma may not show the exact typeface. | Install the listed fonts in Figma. | | Design still loading | Kombai waits up to 30 seconds for the design to load. If it's still loading after that, Kombai copies what has loaded, so some content may be missing. | Copy the design again. | **2. Figma layers are ready** | Why it happens | What to do | | - | - | | You switched to another window before the copy finished, so Kombai couldn't put the layers on your clipboard. | Click **Copy** in the message, then paste in Figma. If that shows **Couldn't copy to the clipboard**, choose **Export > Copy to Figma** again, and wait until the whole design is copied before you switch the window. | **3. Couldn't copy to Figma** The message includes one of these details: | Detail | Why it happens | What to do | | - | - | - | | The design took too long to prepare. Try again, or copy it as PNG. | Preparing the layers took longer than Kombai allows. | Try again, or use **Export > Copy as PNG**. | | This design has nothing visible to copy. | The design has no visible content to turn into layers. | Check that the design shows content on the Canvas, then try again. | | The design could not be prepared. Try again, or copy it as PNG. | Kombai couldn't prepare the layers. | Try again, or use **Export > Copy as PNG**. | ## Generate Versions vs Generate Variants Both options create new designs from an existing one, but they serve different purposes. | | Generate Versions | Generate Variants | | - | - | - | | **Purpose** | Adapt a design to a different device size or color mode | Explore a different direction for the same design | | **What changes** | Viewport width or light/dark mode | Visual style, layout, interactions, responsiveness, or custom aspects | | **What stays the same** | Content and overall design intent | The core design intent and prompt | | **When to use** | You need a mobile, tablet, or dark mode version of a finished design | You want to iterate on or improve an existing design | | **Output** | A version optimized for the selected device and mode | One or more variant designs based on the selected improvement category | ## Generate Versions You can ask Kombai to create device-specific and dark/light mode versions of a design using the **Generate Versions** option in the top toolbar or from the right-click menu on a design. **1. Select a device** Choose a target device breakpoint for the version. | Device | Width | | - | - | | Mobile | 390 px | | Tablet | 768 px | | Laptop | 1280 px | | Custom | Enter a custom width in pixels. | **2. Select a mode** Choose **Light** or **Dark** mode for the version. Optionally, describe other changes in **Additional instructions...**. **3. Generate** Click **Generate Version** to create the version. ## Generate Variants Generate Variants lets you create new variants of a selected design by targeting specific aspects for improvement. **1. Select a design** Click on the design on the Canvas you want to create a variant of. **2. Open Generate Variants** Click the **Generate** dropdown in the top toolbar and hover over **Generate Variants** to see the pre-defined categories of presets for variants. **3. Select an option** Choose a category and sub-option. Kombai sends a prompt to the agent along with your selected design and generates the variant. The pre-defined categories for variants and their sub-options are described below: ### Improve styles Refine the visual appearance of your design. | Option | Description | | - | - | | **Surprise me** | Let Kombai choose a style improvement automatically. | | **Suggest a style direction** | Get a new overall style direction for the design. | | **Soften** | Make the design softer with gentler colors, rounded edges, and lighter contrasts. | | **Intensify** | Make the design bolder with stronger colors, sharper contrasts, and heavier visual weight. | | **Pop colors** | Increase color vibrancy and saturation across the design. | | **Add depth** | Introduce shadows, layering, and dimension to create a more three-dimensional feel. | | **Improve typography** | Enhance font choices, sizing, spacing, and typographic hierarchy. | ### Improve structure Adjust the layout and spatial organization of your design. | Option | Description | | - | - | | **Surprise me** | Let Kombai choose a structural improvement automatically. | | **Rearrange layout** | Reorganize how sections and elements are positioned on the page. | | **Simplify** | Reduce visual clutter by removing unnecessary elements and streamlining the layout. | | **Enrich** | Add more content and detail to make the design more comprehensive. | | **Fix hierarchy** | Improve the visual hierarchy so the most important elements stand out clearly. | | **Adjust density** | Change how tightly or loosely elements are spaced across the design. | ### Improve interactions Add or enhance motion and interactive elements. | Option | Description | | - | - | | **All aspects** | Improve all interactive aspects of the design at once. | | **Animations** | Add or refine animations and transitions throughout the design. | | **Add sparkles** | Add subtle decorative micro-interactions and sparkle effects. | ### Improve responsiveness Optimize the design for different screen sizes. | Option | Description | | - | - | | **All aspects** | Improve responsiveness across all device sizes. | | **Mobile** | Optimize the design for mobile screens. | | **Tablet** | Optimize the design for tablet screens. | | **Large screens** | Optimize the design for large desktop screens. | ### Surprise Me Below the preset categories, the **Surprise Me** option lets Kombai pick an improvement direction for the design on its own and generate a variant based on it. ## Regenerate design Regenerates the selected design from scratch using the same original prompt. Use this when you want a completely fresh take on the design rather than an incremental improvement. Select a design, click the **Generate** dropdown in the top toolbar, and click **Regenerate Design**. ## FAQs > [accordion] I am unable to view the designs that Kombai generated. > > If Kombai has generated the designs but they are not appearing on the Canvas, please reopen the current Canvas tab in your IDE. > > You can reopen it in either of these ways: > > 1. Click the `.canvas` file directly in your repository. > 2. Open the **Canvas Gallery** in Kombai and select your Canvas. > > If the issue persists, please reach out to [support@kombai.com](mailto:support@kombai.com). # Collaboration Source: https://docs.kombai.com/design/collaboration Design Mode stores all of its artifacts as files: [Canvases](./canvas) live as `.canvas` files in your project (in the `.kombai/canvas/` folder by default, or any [folder you choose](/design/canvas#organize-canvases-with-folders)), and [Design Systems](./design-system/overview) live as `.ds` files in your user-wide Kombai library. Because Canvases are files in your project, you can collaborate on designs using the same tools and workflows you already use for code. To quickly access sharing options, click **Share** in the [document actions bar](/design/canvas#document-actions-bar) at the top right of the Canvas to open the **Collaborate on design** modal. The modal features tabs (**Entire Canvas**, **Design**, and **Design System**), each with specific sharing instructions. ## Comments Use comments to leave feedback, ask questions, or add notes directly to your designs. Click the icon in the [Canvas bottom toolbar](./canvas#bottom-toolbar) (or press `C`) to activate the comment tool, then click on a design or an empty area of the Canvas to place a comment. Type in **Add a comment** and press `Enter` to post it. Comments are saved inside the `.canvas` file, so they travel with the Canvas when you share it. ### Manage comments While the comment tool is active, the **Comments** panel on the right lists every comment on the Canvas. Use **Search** to find a comment, and the filter menu to show **All**, **Open**, or **Resolved** comments. * **Reply:** Open a comment and type in **Reply**. * **Resolve or reopen:** Click the check icon on a comment to resolve it. To reopen a resolved comment, click the check icon again or choose **Reopen** from its **⋯** menu. * **Edit or delete a message:** Open the **⋯** menu on one of your messages and choose **Edit** or **Delete**. * **Delete a thread:** Choose **Delete thread** from the comment's **⋯** menu. Comments are useful for: * **Leaving design feedback**: Point out specific elements that need changes, suggest improvements, or approve sections. * **Adding context for teammates**: Explain design decisions or flag areas that need attention before code generation. * **Personal notes**: Bookmark parts of a design you want to revisit or iterate on later. ## Git as a collaboration system Because every Canvas is a file on your disk, your existing Git workflow doubles as a design collaboration system. When you commit and push your `.kombai/` folder, your entire team gets access to the same Canvases. > [!NOTE] > > Design Systems are stored in your user-wide Kombai library > (`~/.kombai/design-systems/`), not in the project, so they are not shared by > committing the `.kombai/` folder. See [Sharing Design > Systems](#sharing-design-systems) below for how to share them. ### Recommended workflow 1. **Create a branch** for your design work, just like you would for a feature. 2. **Design on the Canvas** as you go. 3. **Commit and push** the `.kombai/` folder changes (including `.canvas` files in `.kombai/canvas/` and pasted images in `.kombai/canvas/assets/`), plus any `.canvas` files you keep in other folders. 4. **Open a pull request** so your team can review the design files alongside any code changes. 5. **Merge to main** once approved, making the designs available to everyone. This keeps your design artifacts in sync with your codebase and gives you the full benefits of Git—branching, history, diffs, and code reviews—for your design work. ## Sharing individual artifacts Since all Design Mode artifacts live as files on disk, you can share specific files directly with a teammate without going through a full Git workflow. This is especially useful for quick, informal collaboration. ### Sharing an entire Canvas **Via Git:** Commit your `.canvas` file (by default in `.kombai/canvas/`) to your repository. Anyone on your team who pulls the repository will have access to the Canvas, including all designs stored within it. **Manually:** 1. Locate your `.canvas` file (by default inside `.kombai/canvas/`). 2. Send the `.canvas` file to your teammate through any channel (e.g., Slack, email, or a shared drive). 3. Your teammate saves the file anywhere in their local project, for example under `.kombai/canvas/`. 4. They can now open and use the shared Canvas in their Design Mode session. > [!NOTE] > > **Important:** Sharing a Canvas does not include Design Systems. Design > Systems are stored separately and must be shared using the steps in the Design > Systems section below. ### Sharing individual designs Designs live inside your Canvas. To share them, you need to share the Canvas they belong to: 1. **Share the entire Canvas**: Follow the steps in the [Sharing an entire Canvas](#sharing-an-entire-canvas) section above. 2. **Share only select designs**: Copy the specific designs to a new Canvas first. Then, share that new Canvas using the steps in the [Sharing an entire Canvas](#sharing-an-entire-canvas) section. ### Sharing Design Systems Design Systems live in your user-wide Kombai library at `~/.kombai/design-systems/`, so they can't be shared by committing project files. Instead: 1. Open the [Design Systems page](./design-system/overview#open-the-design-systems-page) and switch to the **My design systems** tab. 2. Click the menu on your design system and select **[Export it as a .ds file](./design-system/manage#export-a-design-system)**. 3. Send the exported file to your teammate (e.g., Slack, email, or a shared drive). 4. Have your teammate [import the .ds file](./design-system/create#import-a-design-system-file) on their Design Systems page to start using it in Kombai. ## Sharing examples * **Two designers collaborating on a page**: One person designs the hero section and commits the `.canvas` file to a branch. The other person pulls the branch, opens the Canvas, adds the features section, and commits the updated file back. * **Sharing a Design System across projects**: Design Systems are shared across your projects automatically — the library at `~/.kombai/design-systems/` is user-wide, so a Design System you create is available in every project on your machine. * **Sharing design direction**: Your design system team creates a Design System and sends the `.ds` file to the team. Everyone saves it to their own library and uses it as a template for generating new designs. This file-based approach ensures there's no lock-in to a specific design tool or platform—your design assets are portable, versioned, and always accessible. # Create a Design System Source: https://docs.kombai.com/design/design-system/create Kombai extracts a Design System from the design language you already use, such as your codebase, Figma files, a live website, or designs on your canvas. ## Generate from your sources 1. On the Design Systems page, click **+ Create** to open the **Create your design system** page. 2. Add one or more [sources](#sources). 3. (Optional) In **Optional notes**, describe anything the Design System should focus on, such as your brand's tone or a color palette you prefer. 4. Click **Create design system**. > [!TIP] > > You can also open the page from the chat input: click the > icon, then click **+ Create** in the Design System popover. If you don't have > any Design Systems yet, click **Create design system** on the Design Systems > page. ### Sources | Source | What to add | | :- | :- | | **Local codebase** | A folder path, or click **Browse** to select one. In a project, click **Use this workspace** to use the current project. | | **Figma file links** | Paste a Figma link and press **Enter**. Repeat for more files, or paste several links separated by commas. | | **Website URL** | A live website whose visual style you want to extract. | | **Kombai designs** | Choose a canvas, then select one or more of its designs. | | **DESIGN.md** | The contents of your `DESIGN.md` file. | | **Existing design system** | One of your Design Systems (**Yours**) or a curated one (**Public**) to build from. | ## Import a design system file Use this to add a `.ds` file someone shared with you, without regenerating it. 1. On the Design Systems page, click **+ Create**. 2. Below the form, next to **Already have a .ds file?**, click **Import it**. 3. Browse to the `.ds` file to add it to your Design Systems. ## Copy a public Design System Use this to start from one of the curated Design Systems on the **Public design systems** tab instead of generating your own. 1. On the Design Systems page, open the **Public design systems** tab. 2. Select the Design System you want from the left panel, then click **Add to My design systems** above its spec. # Manage a Design System Source: https://docs.kombai.com/design/design-system/manage Once a Design System is created, you can edit its tokens, apply it to designs, attach it to the chat as context, or delete it. ## Edit a Design System You can edit a Design System by describing the change to the agent, or by editing its underlying `.ds` file — Markdown with a YAML front-matter block — directly. 1. Open the [Design Systems page](./overview#open-the-design-systems-page) and select a Design System from the **My design systems** tab. 2. Above its spec, click **Edit with AI**, or click the arrow next to it and select **Manual edit**. * **Edit with AI** opens a new chat with the Design System attached. Describe the change you want and send it. * **Manual edit** opens the Design System's detail page in edit mode, so you can edit any token or prose section directly. 3. If you chose **Manual edit**, click **Save** to apply the changes, or **Cancel** to discard them. > [!NOTE] > > Editing is unavailable while the Design System is still generating. ## Apply a Design System Applying a Design System regenerates the selected design using its tokens, while preserving the original layout and content. 1. Select the design on the Canvas you want to apply the Design System to. 2. Right-click the selection to open the context menu. Under the **Design System** section, open the **Apply** submenu. 3. Select the Design System you want. Kombai sends a prompt to the agent to regenerate the selected design using the Design System's tokens. > [!NOTE] > > The [Design Systems page](./overview#design-systems-page) is where you browse > and manage your systems — applying a system to a design is done from the > Canvas context menu above. ## Attach a Design System in chat To attach a Design System to the chat as context: 1. Click the icon in the chat input to open the Design System popover. 2. Select the Design System you want to attach to the chat as context. ## Export a Design System Export saves one of your Design Systems as a `.ds` file you can share or back up. 1. Open the [Design Systems page](./overview#open-the-design-systems-page) and select a Design System from the **My design systems** tab. 2. Open the menu above its spec. 3. Select **Export design system**, then choose where to save the file. > [!NOTE] > > Only Design Systems in **My design systems** can be exported. **Export design > system** isn't available when the Design Systems page is open in a standalone > browser tab instead of inside Kombai. ## Delete a Design System > [!WARNING] > > Deleting a Design System is permanent and cannot be undone. 1. Open the [Design Systems page](./overview#open-the-design-systems-page) and select a Design System from the **My design systems** tab. 2. Open the menu above its spec and select **Delete**. 3. Click **Delete** in the confirmation dialog. # Overview Source: https://docs.kombai.com/design/design-system/overview A Design System captures a project's full visual identity — palette, typography, spacing, elevation, and more — so Kombai can generate and code designs that are consistent with it. A Design System is a structured, file-based spec of a product's visual language. Instead of managing separate color palettes, type scales, and freeform style notes, a Design System brings every layer of a visual identity together, from brand colors and typography down to spacing, elevation, grids, and usage guidelines, in a single artifact that Kombai can read, edit, and apply consistently across your designs and code. Kombai can generate a Design System from an existing codebase, a Figma file, a `Design.md` file, a design on your Canvas, or a live website. Every Design System is stored as a `.ds` file in your user-wide Kombai library at `~/.kombai/design-systems/`, so it is available across all your projects. A `.ds` file placed anywhere inside a project is also discovered automatically. A `.ds` file is Markdown with a YAML front-matter block — the front matter holds the structured tokens, and the Markdown body holds the prose guidance. ## Design System structure A Design System has two layers: a YAML **front matter** block holding the structured tokens, and a Markdown **body** holding prose guidance organized into sections. The front matter holds the hard data: the color palette and its semantic roles (e.g. `background.canvas`, `text.primary`, `border.focus`), gradients, font families and text styles, spacing, radius, shadows and elevation levels, border widths and styles, opacity levels, motion durations and easings, breakpoints, component specs, asset patterns, icon glyphs, and motion patterns. The body is organized into the following sections. Click each to see what it covers. > [accordion] Instructions > > How to apply the system when building UI — which token to reach for, usage and scarcity constraints, and the system's voice. > [accordion] Brand & Accent > > Usage of each brand and accent color in the palette. > [accordion] Surface > > Usage of each surface and background color across pages, cards, and containers. > [accordion] Text > > Usage of each text color — headings, body copy, secondary text, and links. > [accordion] Status & Semantic > > Usage of status, overlay, and semantic colors (success, warning, error, info) for badges, links, and highlights. > [accordion] Fonts > > Font families and what each carries, type principles, and recommended substitutes. > [accordion] Layout > > Max content width, grid columns, gutters, and whitespace philosophy. > [accordion] Responsiveness > > Per-component collapsing rules across breakpoints — nav, hero, grids, footer, and touch targets. > [accordion] Shape & Geometry > > Radius-scale usage plus photography and illustration geometry. > [accordion] Assets > > The imagery and media narrative, including generation prompts for reusable assets. > [accordion] Iconography > > Icon style and usage narrative; the icon glyphs themselves live in the front matter. > [accordion] Components > > A one-line usage note per component covered by the Design System. > [accordion] Animation & Motion > > The motion narrative — signature transitions and any JS-, video-, or canvas-driven motion that can't be expressed as CSS tokens. > [accordion] Do > > Recommended practices for applying the Design System. > [accordion] Don't > > Anti-patterns to avoid, e.g. color pairings or spacing rules that break the system. > [accordion] Signature > > Distinctive, system-specific details: signature components, brand gradients, color-block patterns, and decorative depth. > [accordion] Notes > > Catch-all for actionable caveats, known gaps, and edge cases that don't fit another section. ## Design Systems page The Design Systems page lets you browse, create, and manage systems. Select a Design System to view its spec. It includes two tabs: * **My design systems:** All the Design Systems you've created or imported. * **Public design systems:** A curated library of Design Systems extracted from popular, real-world products (e.g. Discord, Stripe, Nike). Use the search box to filter the active tab. On the **Public design systems** tab, click a tag chip to show only the systems with that tag, or click the arrow at the end of the chips to search all tags with **Filter tags**. Click **All** to clear the tag filter. If a public Design System has a source website, open the menu above its spec and select **Open source site** to visit it. ### Open the Design Systems page 1. Click the icon in the chat input to open the Design Systems popover. 2. Click **Manage** at the bottom of the popover to open the Design Systems page. On the desktop app, you can also click on the left sidebar's icon rail to open the page. > [!NOTE] > > On the IDE extension, if you have turned on **Open canvas in browser** in > Kombai's settings, the Design System page will open in the Kombai Browser. ## View a Design System Select a Design System to open its spec. The spec includes: * **Header details**: The system name and last updated timestamp(for your Design Systems). * **Tokens and guidance**: Style tokens and usage notes organized by category and displayed as cards. To edit the underlying `.ds` Markdown source file, see [Edit a Design System](./manage#edit-a-design-system). # Edit Designs Source: https://docs.kombai.com/design/editor The design editor is a full visual editor built into the Canvas. It works like a standard design tool: select any element in a design, adjust its styles through visual controls, edit text and raw CSS/HTML directly, and rearrange layers, all without sending a prompt to the agent. ## Open the editor Right-click a design and select **Edit** > **Edit Design**. The Edit tool turns on and the editor panel opens. If you're already using the **Edit** tool, clicking an element opens the [quick-edit bar](/design/canvas#quick-edit-an-element) rather than the panel. To open the panel from there, use either of these: * Click **Open edit panel** in the quick-edit bar. * Click **Open edit panel** at the end of the edit strip at the top of the Canvas. Click **Save** on top of the editor to save your changes, or **Discard** to revert. You can also visit the specific states of your design changes using the **Undo** and **Redo** icons. The panel header also has these controls: * **Dock left** and **Dock right** move the panel to either side of the Canvas. * In the desktop app, **Back to chat** closes the panel and returns you to the chat. In the IDE extension and the browser, **Collapse panel** closes the panel instead. Either way your unsaved edits are kept, and the edit strip at the top of the Canvas shows how many there are. ## The editor panel The panel has two parts: the **Layers** tree at the top and the **property tabs** that populate when you select an element. ### Layers The Layers tree shows every element in the design in nesting order. Each row is labeled with a friendly name and its underlying HTML tag (for example `nav`, `ul`, `li`, `section`, `video`, `div`, `span`). * Click a layer to select it and load its properties into the property tabs. * **Cmd/Ctrl-click** to add or remove layers from a multi-selection, or **Shift-click** to select a range. With two or more layers selected, the Layers title bar becomes a batch toolbar with **Add layers to chat**, **Wrap in container**, **Hide layers**/**Show layers**, **Delete layers**, and **Clear selection**. * **Drag a layer** in the tree to reorder it or move it into another container. * Double-click a text element on the Canvas to edit its content inline. * Hover a layer to reveal the visibility toggle and the **⋯** menu (**Add to chat**, **Wrap**, **Unwrap**, **Copy**, and **Delete**). Keyboard shortcuts when a layer is selected: * **Arrow keys:** move the selection up and down, and expand or collapse a layer. * **Delete / Backspace:** delete the selected layer or layers. * **Cmd/Ctrl + C / V:** copy and paste an element. You can paste it into another design in the same session. * **Cmd/Ctrl + Z** and **Shift + Cmd/Ctrl + Z:** undo and redo. ### Property tabs When an element is selected, the panel shows tabs for editing it: * **Styles:** visual controls for the element's CSS. See [Styles](#styles). * **Element:** element-specific properties. The tab and its contents adapt to the selected element's type (for example, a **Video** tab for `