Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dip/cmdk/llms.txt
Use this file to discover all available pages before exploring further.
Command.Separator renders a visual and semantic separator (using role="separator") between items or groups. By default it is only visible when the search query is empty — it hides as soon as the user starts typing, so it doesn’t clutter search results. Pass alwaysRender to keep it visible regardless of the search state.
[cmdk-separator]
Props
When
true, the separator is rendered even when the user has typed a search query. By default, separators are only rendered when the search input is empty.div props are forwarded to the underlying element.
Behavior
The separator renders when either of these conditions is true:- The search query is empty (default behavior)
alwaysRenderistrue
null — it is fully removed from the DOM, not just hidden.
