MangeQR
v1.0
TarifsBlogComponents
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

NameTypeDescription
childrenReact.ReactNode

Defines the nested elements or components, typically a combination of CommandItem, CommandGroup, and others.

classNamestring

Additional CSS classes to style the root Command component.

refReact.Ref<HTMLDivElement>

A ref to the root Command container for DOM manipulation or reference.

...propsReact.ComponentPropsWithoutRef<CommandPrimitive>

Additional props that can be passed to the root Command component.