Skip to content

Command

Find an action by name or keyword and run it from the keyboard.

alpina-ui/interactive/command

Interactive preview

Go to collection

  • In progress
  • Awaiting approval
  • Printed

Open collection · All drafts

Usage notes

Label each command by its action. Moving the pointer changes the active result while keyboard focus stays in the search field.

When to use

Search available commands when an experienced user wants to go straight to a known task.

When to avoid

Keep common tasks visible in the ordinary interface so discovery never depends on remembering a shortcut.

Accessibility

Label the search field and announce the results. Escape should return focus to the invoking control.

Keys
KeyAction
Enter / SpaceOpen the command dialog from its trigger.
TypeFilter commands in the search field.
↑ / ↓Move between available results.
EnterRun the active command.
EscapeClose the dialog and restore focus.

Content

Start each result with the action and name its object. Keep synonyms in search metadata so labels stay short.

Use
Create a new invoice
Avoid
Invoices module 03

Copy in four languages

German
Rechnung erstellen18 characters
French
Créer une facture17 characters
Italian
Crea fattura12 characters
Romansh
Crear in quint14 characters
Add to your project
npx --no-install alpina add command