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 and Snipping tool sections below to use these tools.Element selector
- Click the icon in the browser extension’s chat window. Alternatively, press ⌘ + ⌥ + . on macOS.
- 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.
- Add any additional instructions you want to send to Kombai.
- Click the Send to agent button.
Snipping tool
- Click the icon in the browser extension’s chat window.
- 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.
- Add any additional instructions you want to send to Kombai.
- 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.- Click the icon in the browser extension’s chat window. Alternatively, press ⌘ + ⌥ + . on macOS.
- Click the DOM element you want to send to Kombai.
- Go to the Design tab in the Kombai extension and edit the CSS values visually based on the available dropdowns and input boxes.
- 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.- Click the icon in the browser extension’s chat window.
- Click on a text element on the page to make it editable.
- Edit the text.
- 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 theme from the UI.Drag and rearrange DOM elements
- Click the icon in the browser extension’s chat window.
- Click and hold a UI element on the page and drag it to a new position to rearrange it.
- Click the Send to agent button.
Delete DOM elements
- Click the icon in the browser extension’s chat window.
- Click a UI element on the page and press the Delete / Backspace key on your keyboard to delete the element.
- Click the Send to agent button.
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:- Open the Accounts page in a new tab.
- Select the avatar element.
- Return to the previous tab (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 output, network logs, and performance metrics. Using this data, Kombai fixes console and network errors, boosts page performance, refactors UI components, and edits your UI with precision.Example prompts
- Fix console errors in my app.
- Create a new
<CardGroup>component to group the tagged cards together. - Identify slow network requests and suggest improvements.
- Give me the current performance metrics of the page.
Access Resource and Image Library
Kombai features a built-in resource library of top design resources and an image library containing all screenshots you have uploaded to the Agent’s chat. Use the and icons to access them.Resource Library
Kombai has curated a library of top-tier frontend resources— UI libraries, design inspiration, colors, typography, animations, and assets. Use it to discover high-quality resources and creative inspiration for building beautiful interfaces. Read more about the Resource Library here.Image Library
Kombai maintains a library of all images you attach to the Agent’s chat. With the image library, you can select or snip a portion of a previously attached screenshot without having to re-upload it. Use this to iterate on your code by asking Kombai to refine specific elements from your screenshots. To access the image library:- Click the icon at the top-right of the browser extension’s chat window.
- Select the image you want to use from the left sidebar.