Search
Search components and blocks
Command Menu
ProA ⌘K palette that owns its own open state and keyboard shortcut — click the trigger or press Cmd/Ctrl+K. The single highest-perceived-craft feature a solo dev can ship in an afternoon.
Command Palette
Search for a command to run...
Props
PropTypeDefault
groupsCommandMenuGroup[]—placeholderstring"Search..."triggerClassNamestring—openboolean—defaultOpenbooleanfalseonOpenChange(open: boolean) => void—When to use the command menu
Use the command menu for a Cmd+K palette. It owns its open state and keyboard shortcut, so people can click the trigger or press Cmd or Ctrl+K.