Command

Command palette interface for searching, filtering, and executing actions.

No results found.
settings.py⌘P
deploy.ymlModified
README.md
Switch Branch⌘B
Open Terminal⌘`
Change Theme

Installation

CLI

Install the component using the StarUI CLI:

star add command

Examples

Search with Keywords and Disabled Items

Items have keyword aliases for search discovery — type '2fa' to find Two-Factor Authentication, or 'csv' to find Data Export. The Data Export item is disabled to indicate an unavailable feature. Custom empty state content replaces the default string.

No matching settings.

Try a different search term.

Language & RegionEnglish (US)
Notifications
Two-Factor AuthenticationRecommended
Team Members
API Keys
Data Export

Command Dialog

A modal command palette triggered by a button or keyboard shortcut (⌘K). Includes clipboard integration and navigation actions.

Nothing found.
New Document⌘N
Import File
Copy Page Link⌘L
Dashboard
Projects
Analytics

File Context Menu

A compact command menu without a search input, used as a file context menu. The size='sm' variant and no CommandInput keep it tight.

RenameF2
Move to...
Duplicate⌘D
Share
Add to Favorites
Get Info⌘I
Move to Trash⌘⌫

API Reference

Component Description
Command The root command container with search and filtering
CommandInput Search input for filtering command items
CommandList Container for command items and groups
CommandEmpty Empty state when no results match the search
CommandGroup Group related command items with a heading
CommandItem Individual selectable command item with actions
CommandSeparator Visual separator between command groups
CommandShortcut Display keyboard shortcut for a command
CommandDialog Command palette in a modal dialog overlay