Command Palette
Command Palette
Eine Command Palette ist ein tastaturfreundliches Such-Panel. Es öffnet Aktionen, Seiten und letzte Elemente.
Eine Command Palette ist ein tastaturfreundliches Such-Panel. Es öffnet Aktionen, Seiten und letzte Elemente.
Ein echtes Beispiel
Drücke Command-K, tippe „Teammitglied einladen“ und führe diese Aktion aus der Liste aus.
Hauptteile
- 01Current location
- 02Destination labels
- 03Focus order
- 04Responsive behavior
Verwenden Sie es, wenn
Verwenden Sie es in einem Produkt mit vielen Befehlen und Personen, die häufig zurückkehren.
Nutze es nicht, wenn
Mach es niemals zum einzigen Weg, eine wesentliche Aktion zu erreichen.
In Code verwendeter Name
Command-K / role="dialog" Vor dem Ausliefern
Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states.
Outcome: Complete the task with Command Palette (Command Palette). User context: Drücke Command-K, tippe „Teammitglied einladen“ und führe diese Aktion aus der Liste aus. Recommended pattern: Command Palette (Command Palette). Why it fits: Verwenden Sie es in einem Produkt mit vielen Befehlen und Personen, die häufig zurückkehren. Do not use it when: Mach es niemals zum einzigen Weg, eine wesentliche Aktion zu erreichen. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary): Kein einziger offizieller Standard kontrolliert den gesamten Begriff. Seine Bedeutung kann sich zwischen Teams, Plattformen oder Frameworks ändern. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Diese Anfrage prüfen
Review how Command Palette (Command Palette) is used now. Definition: Eine Command Palette ist ein tastaturfreundliches Such-Panel. Es öffnet Aktionen, Seiten und letzte Elemente. Release checks: Before release, check the page structure, keyboard access, visible focus, contrast, and zoom. Also check loading, empty, error, success, cancel, and reduced-motion states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.