Command

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

React

Ready

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

NameDefaultDescription
title
string
Command Palette
description
string
Search for a command to run...
className
string
showCloseButton
boolean
false
closeLabel
string
childrenRequired
React.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.

Weigh Command against these before you choose.

Read this page as Markdown

Search ARK

Find a page, a primitive or a component.