--- category: navigation --- # Command Source: `components/ui/command.tsx`. `Command` is a compound component. Its parts are exported **flat** (`CommandDialog`, not `Command.Dialog`) and each is a separate top-level export of the bundle: | Part | Props | | --- | --- | | `CommandDialog` | `React.ComponentProps & {…}` | | `CommandInput` | `React.ComponentProps` | | `CommandList` | `React.ComponentProps` | | `CommandEmpty` | `React.ComponentProps` | | `CommandGroup` | `React.ComponentProps` | | `CommandItem` | `React.ComponentProps` | | `CommandShortcut` | `React.ComponentProps<'span'>` | | `CommandSeparator` | `React.ComponentProps` | All parts accept `className` and are composed as children of `Command`.