Skip to main content
Kombai indexes your codebase to understand the behavior, appearance, and props of your components. This allows it to intelligently reuse them in generated code, ensuring a clean, maintainable codebase without duplication. You can add up to 10 folders to your index.

Index components

  1. Launch Kombai extension in your IDE.
  2. Click the icon in the chat input box.
  3. Click icon located at the top-right of Current tech stack.
  4. Switch to the Component Indexing tab.
  5. Select the component folders you want to index.
  6. Click Start Indexing to begin the process.
Once all the components are indexed, they will appear in the UI as accordions. Click on an accordion to view the component’s description.

Reindex components

  1. Launch Kombai extension in your IDE.
  2. Click the icon in the chat input box.
  3. Click icon located at the top-right of Current tech stack.
  4. Switch to the Component Indexing tab.
  5. Select the component folders you want to index.
  6. Click Reindex to begin the process.
Once all the components are reindexed, they will appear in the UI as accordions. Click on an accordion to view the component’s description.

Delete indexed components

  1. Click the icon in Kombai’s chat input box.
  2. Click the icon located at the top-right of Current tech stack.
  3. Switch to the Component Indexing tab.
  4. Click Delete index (located below View indexed components).

When to index your codebase components

We recommend indexing your components in four cases:
  1. When you are using Kombai in a workspace for the first time.
  2. When you add a new component to an indexed folder.
  3. When you create a new folder containing components you want to use.