Drawer
Drawer
Ein Drawer fährt von einem Bildschirmrand herein. Ein Teil der Seite dahinter bleibt sichtbar.
Ein echtes Beispiel
Wählen Sie eine Bestellung aus, um deren Details von rechts zu öffnen. Die Bestellliste bleibt dahinter sichtbar.
Hauptteile
- 01Auslösen
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Verwenden Sie es, wenn
Verwenden Sie es für Details oder eine kleinere zweite Aufgabe, wenn das Beibehalten der aktuellen Position hilfreich ist.
Nutze es nicht, wenn
Dränge niemals einen langen Arbeitsablauf mit vielen Schritten in eine schmale Schublade.
In Code verwendeter Name
Dialog + edge positioning Vor dem Ausliefern
Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states.
Outcome: Complete the task with Drawer (Drawer). User context: Wählen Sie eine Bestellung aus, um deren Details von rechts zu öffnen. Die Bestellliste bleibt dahinter sichtbar. Recommended pattern: Drawer (Drawer). Why it fits: Verwenden Sie es für Details oder eine kleinere zweite Aufgabe, wenn das Beibehalten der aktuellen Position hilfreich ist. Do not use it when: Dränge niemals einen langen Arbeitsablauf mit vielen Schritten in eine schmale Schublade. 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 Drawer (Drawer) is used now. Definition: Ein Drawer fährt von einem Bildschirmrand herein. Ein Teil der Seite dahinter bleibt sichtbar. Release checks: Move focus on purpose. Keep it inside only when the overlay blocks the page. Support Escape and a visible close button, then return focus to the opener. Keep entered data and check small-screen, loading, and failure states. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.