Design for four width classes
Default
Rule. Design for four width classes: Compact under 600, Medium 600 to 839, Expanded 840 to 1199, and Large 1200 and up.
Why. Each class has one shell (a bar, a rail, or a sidebar) and a pane count.
When not. A component in a narrow slot follows its own width (see Rule 5.20).
- Write every width in px (or dp, or pt).
- Use the same four names in every file and every talk.
- Test the edges: 599, 600, 839, 840, 1199, and 1200.
Do. Width picks Large: a sidebar, a list, and a detail pane.
Don't. The device name picks tablet: a rail and one pane at 1200 px.