Collapse a pane in 200 to 300 ms
DefaultDesktop only
Rule. Make a pane or sidebar collapse take 200 to 300 ms, and reflow the content once.
Applies with. Width 840+
Why. A slow collapse makes content jitter at every frame, so reflow once and keep it short.
When not. Collapse at once when reduced motion is on. On a phone, a drawer follows Rule 14.4.
- Move the pane edge, and set the content width at the end.
- Keep the toggle in the same place before and after.
- Pane sizes and collapse points: Rule 5.14.
Figure. 0 ms: the sidebar is open with labels.
Figure. 250 ms: the sidebar is a rail, and the content reflowed once.