Command
Presents a searchable list of commands or destinations. Use it for quick navigation, action palettes, and compact pickers.
React
Figma
Import
import { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator } from "@kela-systems/ui-components";This page has no live example yet. Storybook shows Command in every state and theme.
Props
Command
No props of its own. It also takes the props of cmdk.
CommandDialog
| Name | Default | Description |
|---|---|---|
titlestring | Command Palette | |
descriptionstring | Search for a command to run... | |
classNamestring | ||
showCloseButtonboolean | false | |
closeLabelstring | ||
childrenRequiredReact.ReactNode |
It also takes the props of Base UI's dialog.
CommandInput
No props of its own. It also takes the props of cmdk.
CommandList
No props of its own. It also takes the props of cmdk.
CommandEmpty
No props of its own. It also takes the props of cmdk.
CommandGroup
No props of its own. It also takes the props of cmdk.
CommandItem
No props of its own. It also takes the props of cmdk.
CommandShortcut
No props of its own. It also takes the attributes of the HTML element it renders.
CommandSeparator
No props of its own. It also takes the props of cmdk.
Related
Weigh Command against these before you choose.