Command
v0.23.0Search and run from the keyboard: a filterable list, and the ⌘K palette that opens over any page.
API reference
Generated from the types. Every part also takes className.
CommandDialog
Also takes every prop of CommandPrimitive.
- title
stringSame aslabels.title, and wins over it.- open
boolean- onOpenChange
(open: boolean) => void- description
stringSame aslabels.description, and wins over it.- labels
Partial<CommandDialogLabels>The words it says, to translate them.
CommandInput
Also takes every prop of CommandPrimitive.Input.
- end
ReactNode
CommandCheck
- checkedrequired
boolean
Other parts
Commandtakes every prop ofCommandPrimitive.CommandListtakes every prop ofCommandPrimitive.List.CommandEmptytakes every prop ofCommandPrimitive.Empty.CommandGrouptakes every prop ofCommandPrimitive.Group.CommandSeparatortakes every prop of<div>.CommandItemtakes every prop ofCommandPrimitive.Item.CommandShortcuttakes every prop of<kbd>.