Fast, composable, unstyled command menu for React.
1npx shadcn@latest add https://ui.saturation.io/r/command.json1600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">import {2 Command,3 CommandDialog,4 CommandEmpty,5 CommandGroup,6 CommandInput,7 CommandItem,8 CommandList,9 CommandSeparator,10 CommandShortcut,11} 600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">from 600 dark:text-blue-400">class="text-purple-600 dark:text-purple-400">class="text-orange-600 dark:text-orange-400">'@/components/ui/command'To show the command menu in a dialog, use the CommandDialog component.
Search for a command to run...
Use CommandGroup to organize items into sections with headings.
The root command component. Contains all other command components.
A command menu displayed in a dialog. Accepts all Dialog props.
The search input for filtering command items.
Contains command items and groups. Automatically filters based on search input.
Displayed when no results are found.
A group of command items with an optional heading.
A command item. Can be selected and triggered.
Displays a keyboard shortcut hint for a command item.
A visual separator between command groups.