Command
Fast, composable, unstyled command menu for React. Built on top of cmdk.
Basic Command
A simple command menu with search and items.
No results found.
Calendar
Search Emoji
Calculator
Profile⌘P
Billing⌘B
Settings⌘S
Command Dialog
Press ⌘K or click the button to open the command palette.
Command Palette
Search for a command to run...
With Disabled Items
Some items can be disabled.
No results found.
Available Feature
Premium Feature (Disabled)
Another Feature
Coming Soon (Disabled)
Installation
npx brutx@latest add command
The Command component requires the cmdk package:
npm install cmdk
Components
| Component | Description |
|---|---|
| Command | The root command container |
| CommandDialog | Command in a modal dialog |
| CommandInput | The search input field |
| CommandList | Container for command items |
| CommandEmpty | Shown when no results found |
| CommandGroup | Group of related items with heading |
| CommandItem | Individual selectable item |
| CommandSeparator | Visual separator between groups |
| CommandShortcut | Keyboard shortcut display |