ComponentClient component
Command
A fast command menu and searchable action surface.
Installation
Preview
No actions found.
Open documentation
Create component
Change theme
Usage
tsx
import {
Command,
CommandInput,
CommandItem,
CommandList,
} from "@/components/ui/command"
<Command>
<CommandInput placeholder="Search commands..." />
<CommandList>
<CommandItem>Create project</CommandItem>
</CommandList>
</Command>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Overrides or extends the generated Tailwind classes. |
disabled | boolean | false | Prevents user interaction when supported. |