Skip to content

CommandGroup ​

Renders a group header followed by its CommandItem rows. Passes all #item, #item-icon, and #item-shortcut slots through to each child.

Props ​

group ​

CommandGroupType

Group metadata (id, label, priority). Imported as CommandGroupType — the plain CommandGroup name is taken by this component, see TypeScript types.

items ​

SearchResult[]

Filtered results for this group.

activeIndex ​

number

Global active index for highlight tracking.

globalOffset ​

number

Index offset within the flat result list.

loadingCommandId ​

string | null

Forwarded to each CommandItem.