randomseeds logo
Random Design System

Command

A searchable command palette for quickly finding and executing actions. Built on cmdk.

Inline

Usage

Use the Command component for search interfaces or command palettes (e.g. triggered by Cmd+K). It provides built-in fuzzy search filtering.

For a floating dialog version, wrap with CommandDialog.

Props

PropTypeDefaultDescription
valuestringControlled search value (on CommandInput)
onValueChange(value: string) => voidCallback when search changes (on CommandInput)
headingstringGroup heading (on CommandGroup)