Command
A searchable, keyboard-driven list of actions, shown inline in a panel or as a command palette in a dialog.
Paste this into your agent.
Command lets people type to find and run one action out of many. Render it inline in a page or panel, or as a palette over the whole app. It fits power-user shortcuts, quick switchers and "go to" searches.
Install
bashnpx shadcn@4.18.0 add @siteplane/command
Import it from @/siteplane/components/command. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Pick Menu instead when the actions are few and fixed and scanning beats typing.
- vs : Pick Autocomplete instead when the typed text fills a form field rather than triggering an action.
- vs : Build palettes from the CommandDialog parts, which set the right size and label. Don't wrap Command in your own Dialog.
Rules
- Give CommandInput an aria-label that names what it searches; the default only says it searches commands.
- Render CommandEmpty to show a message when a search finds no match.
- CommandShortcut only draws the hint. Register the key handler in your app.
- Wire the global shortcut that opens the palette yourself, for example with CommandDialog and controlled open state.
- Group related items with CommandGroup and CommandGroupLabel so long lists stay scannable.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Siteplane Tabsby UI Skillbook
Keyboard-navigable tabs that switch between related panels of content on the same page.
Siteplane UI
Accessible Focus Statesby UI Skillbook
Keep a visible, high-contrast focus indicator on every interactive element, without a generic browser outline or none at all.
Accessibility
Better Accessibilityby jakubkrehel
Review and improve focus states, keyboard support, ARIA, forms, screen readers, hit areas, and motion accessibility.
AccessibilityExternalGitHub stars: 9.2K
Build Primitiveby PrototyperAI
Build foundational UI primitives from scratch with strong ARIA, keyboard, focus, and state handling.
AccessibilityExternalGitHub stars: 7