Drawer
Cassetto
Un drawer scorre dal bordo dello schermo. Una parte della pagina dietro di esso resta visibile.
Un esempio vero
Seleziona un ordine per aprirne i dettagli da destra. L'elenco degli ordini rimane visibile dietro.
Parti principali
- 01Attiva
- 02Anchored or modal surface
- 03Focus boundary
- 04Dismiss path
Usalo quando
Usalo per dettagli o per un secondo compito più piccolo quando mantenere il posto attuale è utile.
Non usarlo quando
Non comprimere mai un lungo flusso di lavoro con molti passaggi in un cassetto stretto.
Nome usato nel codice
Dialog + edge positioning Prima di spedire
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 Cassetto (Drawer). User context: Seleziona un ordine per aprirne i dettagli da destra. L'elenco degli ordini rimane visibile dietro. Recommended pattern: Cassetto (Drawer). Why it fits: Usalo per dettagli o per un secondo compito più piccolo quando mantenere il posto attuale è utile. Do not use it when: Non comprimere mai un lungo flusso di lavoro con molti passaggi in un cassetto stretto. 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): Nessun singolo standard ufficiale controlla l'intero termine. Il suo significato può cambiare tra team, piattaforme o framework. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Controlla questa richiesta
Review how Cassetto (Drawer) is used now. Definition: Un drawer scorre dal bordo dello schermo. Una parte della pagina dietro di esso resta visibile. 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.