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
Launch Kombai extension in your IDE.
Click the icon in the chat input box.
Click icon located at the top-right of Current tech stack .
Switch to the Component Indexing tab.
Select the component folders you want to index.
Click Start Indexing to begin the process.
Once all the components are indexed, toggle View indexed components to view them.
Reindex components
Launch Kombai extension in your IDE.
Click the icon in the chat input box.
Click icon located at the top-right of Current tech stack .
Switch to the Component Indexing tab.
Select the component folders you want to index.
Click Reindex to begin the process.
Once all the components are reindexed, toggle View indexed components to view them.
Delete indexed components
Click the icon in Kombai’s chat input box.
Click the icon located at the top-right of Current tech stack .
Switch to the Component Indexing tab.
Click Delete index (located below View indexed components ).
When to index your codebase components
We recommend indexing your components in four cases:
When you are using Kombai in a workspace for the first time.
When you modify the code of an existing indexed component.
When you add a new component to an indexed folder.
When you create a new folder containing components you want to use.