Command Palette
ID: command_palette
Category: utility
Required slots: input, results
Live example
Pattern Demo: Command Palette
- Open member profile
- Go to events
- Create governance motion
Keyboard: Esc · Enter · ArrowDown · ArrowUp
Overview
Read more
Keyboard-invoked navigation palette.
When to use / When not to use
When to use
- This pattern appears frequently in the utility category and has reusable slot anatomy.
When not to use
- Avoid this pattern when a simpler native element can meet the same user goal with less cognitive load.
Accessibility notes
- Keyboard keys: Esc, Enter, ArrowDown, ArrowUp.
- ARIA attributes: .
- Visible focus required: No.
Implementation
<x-ui.command-palette
title="Pattern Demo: Command Palette"
placeholder="Search commands"
:commands="['Open member profile', 'Go to events', 'Create governance motion']"
/>