Grouping
Group items into labeled sections (e.g. “People”, “Commands”) by passing real SuggestionGroup objects in your items collection. Groups work with both Fuse.js and custom filters.
Structural groups
Use SuggestionGroup[] when every result belongs to a section, or SuggestionEntry[] when you need a mixed layout with standalone items and grouped sections in one list. Custom filters can return grouped results directly, or preserve the mixed structure via canonical entries.
Demos
Grouped command menu with labeled sections. Mixed grouped/ungrouped items. Priority ordering — groups reorder by priority. See Storybook for interactive examples.