Window size classes define responsive behavior across device sizes, specifying column counts, margins, gutters, and navigation patterns.
Phone
Tablet
Desktop
Material Design 3 uses window size classes to create adaptive layouts that respond to different screen sizes:
Compact (0–599dp)
4 columns • 1 pane • Navigation Bar
Expanded Layout
Full navigation drawer with three-column content
> 840dpA two-pane layout where selecting an item from a list reveals its details. The list provides quick scanning and navigation while the detail pane shows comprehensive information.
┌─────────┬───────────────────┐ │ LIST │ DETAIL │ │ [Item] │ │ │ [Item] │ Selected Item │ │ [Item] │ Content │ │ [Item] │ │ └─────────┴───────────────────┘
A primary content area with a secondary supporting panel that provides context, tools, or related information. The supporting pane complements rather than replaces the main content.
┌───────────────────┬─────────┐ │ │SUPPORTING│ │ PRIMARY │ PANE │ │ CONTENT │ │ │ │ Tools │ │ │ Props │ └───────────────────┴─────────┘
A single-column stream of content cards optimized for scrolling and consumption. Content flows vertically with consistent card widths, centered on larger screens.
┌─────────────────────────────┐ │ [CARD 1] │ │ [CARD 2] │ │ [CARD 3] │ │ [CARD 4] │ │ ··· │ └─────────────────────────────┘
Conditionally display the secondary pane based on available space. On small screens, the pane is hidden and accessed through navigation or gestures. On larger screens, both panes are visible.
Float the secondary pane above the primary content as an overlay. This preserves the primary view while adding contextual information. Used with scrims on modal implementations.
Change the layout orientation and arrangement based on available space. Panes may stack vertically on narrow screens and sit side-by-side on wider screens.
0–599dp4 columns
Margins
16dp
Gutter
8dp
Navigation
Navigation
Panes
1
600–839dp12 columns
Margins
24dp
Gutter
12dp
Navigation
Navigation
Panes
1
840–1199dp12 columns
Margins
24dp
Gutter
24dp
Navigation
Rail
Panes
2
1200–1599dp12 columns
Margins
24dp
Gutter
24dp
Navigation
Standard
Panes
2
1600dp+12 columns
Margins
24dp
Gutter
24dp
Navigation
Permanent
Panes
3
| Size Class | Range | Columns | Margins | Gutter | Navigation | Panes |
|---|---|---|---|---|---|---|
| Compact | 0–599dp | 4 | 16dp | 8dp | Navigation Bar | 1 |
| Medium | 600–839dp | 12 | 24dp | 12dp | Navigation Rail | 1 |
| Expanded | 840–1199dp | 12 | 24dp | 24dp | Rail or Drawer | 2 |
| Large | 1200–1599dp | 12 | 24dp | 24dp | Standard Drawer | 2 |
| Extra Large | 1600dp+ | 12 | 24dp | 24dp | Permanent Drawer | 3 |