Docs
Command
Command
A flexible command menu component for keyboard-centric navigation, enabling quick access to actions and options through a streamlined, customizable interface.
With icon
Disabled
Installation
npx shadcn add https://extend-ui.com/registry/command.json Command component props
| Name | Type | Description |
|---|---|---|
| children | React.ReactNode | Defines the nested elements or components, typically a combination of |
| className | string | Additional CSS classes to style the root Command component. |
| ref | React.Ref<HTMLDivElement> | A ref to the root Command container for DOM manipulation or reference. |
| ...props | React.ComponentPropsWithoutRef<CommandPrimitive> | Additional props that can be passed to the root Command component. |