Overlays · W-S15, §10.3
Command palette
Jump anywhere and run actions from the keyboard.
Code
<CommandPalette commands={commands} onOpenChange={setOpen} open={open} t={t} />Accessibility
- A labelled dialog; arrow keys and Enter; ⌘K / Ctrl K anywhere except in fields.
Usage
Do
- Group commands; show shortcuts.
Don't
- Never the only way to a function.
Platforms
- Web
- apps/web/components/edflow/command-palette.tsx, apps/web/components/ui/command.tsx
- iOS
- —
- Android
- —