Skip to content
Overlays

Command

A command palette for searching and selecting from a list of options. Supports keyboard navigation, grouping, and filtering.

Command Palette

Suggestions
Calendar
Search
Settings
Recent
Dashboard
Projects

Import

import {
  Command,
  CommandEmpty,
  CommandGroup,
  CommandInput,
  CommandItem,
  CommandList,
} from "@mikenotthepope/substrateui"

Composition

Command
├── CommandInput
└── CommandList
    ├── CommandEmpty
    └── CommandGroup
        └── CommandItem

API Reference

PropTypeDefaultDescription
classNamestringAdditional CSS classes to apply to the command container.
children
required
React.ReactNodeCompose with CommandInput, CommandList, CommandGroup, CommandItem, and CommandEmpty.