Command
A command menu with search, groups, and keyboard-friendly items.
Basic
Search through a list of grouped commands.
Suggestions
Calendar
Search
Settings
Actions
Profile
⌘P
Billing
⌘B
Team
<Command Class="max-w-sm">
<CommandInput Placeholder="Type a command or search..." />
<CommandList>
<CommandEmpty>No results found.</CommandEmpty>
<CommandGroup Heading="Suggestions">
<CommandItem Value="Calendar">Calendar</CommandItem>
<CommandItem Value="Search">Search</CommandItem>
<CommandItem Value="Settings">Settings</CommandItem>
</CommandGroup>
<CommandSeparator />
<CommandGroup Heading="Actions">
<CommandItem Value="Profile">
Profile
<CommandShortcut>⌘P</CommandShortcut>
</CommandItem>
<CommandItem Value="Billing">
Billing
<CommandShortcut>⌘B</CommandShortcut>
</CommandItem>
<CommandItem Value="Team" Disabled="true">Team</CommandItem>
</CommandGroup>
</CommandList>
</Command>