# Command

Presents a searchable list of commands or destinations. Use it for quick navigation, action palettes, and compact pickers.

Package: `@kela-systems/ui-components` 4.1.0

```tsx
import { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator } from "@kela-systems/ui-components";
```

Links (Kela sign-in needed): [Storybook](https://main--6af1efd9453270bb59a6c00c.chromatic.com/?path=/docs/components-command--docs), [Source](https://github.com/Kela-Systems/kela/tree/main/packages/next/ui-components/src/command), [Figma](https://www.figma.com/design/anhlwrbFM6mUiL0klxeK1I/ARK---Design-System?node-id=60-436)

## Props

A `className` on a part adds layout only: placement, sizing and spacing. Pick a look with a variant.

### Command

Also takes the props of `cmdk`.

### CommandDialog

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `title` | `string` | `Command Palette` |  |
| `description` | `string` | `Search for a command to run...` |  |
| `className` | `string` |  |  |
| `showCloseButton` | `boolean` | `false` |  |
| `closeLabel` | `string` |  |  |
| `children` (required) | `React.ReactNode` |  |  |

Also takes the props of `@base-ui/react/dialog`.

### CommandInput

Also takes the props of `cmdk`.

### CommandList

Also takes the props of `cmdk`.

### CommandEmpty

Also takes the props of `cmdk`.

### CommandGroup

Also takes the props of `cmdk`.

### CommandItem

Also takes the props of `cmdk`.

### CommandShortcut

Also takes the attributes of the HTML element it renders.

### CommandSeparator

Also takes the props of `cmdk`.

## Related

- [Combobox](https://ark.kela.design/product/components/combobox.md)
