Toggles — Icon radio choice grid

Four layout radios appear as a two-column icon grid with short labels and checked markers. Use for a small set of visual presentation choices.

1440 × 480

Open in new tab

Pattern notes

When to use
Use for mutually exclusive layouts that benefit from an icon. Choose a compact segmented control for a single-row switch. Variations: replace Rows with Gallery, change the selected layout, or show only two choices.
Hierarchy
Read Display layout, then Grid, List, Columns and Rows in row order. Every option is a native radio with a visible one-word label and a shared described-by hint. Decorative icons support the labels.
Responsive
The root grows from 288px to 384px at 640px. The four choices remain in two columns and two rows, with identical icon and label placement at both sizes.
Layout
A 288px fieldset grows to 384px at sm. The two-column grid has 12px gaps and minimum 96px choices with 12px padding. Each card pairs a 24px icon and 16px check marker, then a 14px label 12px below. The hint follows the grid by 12px.
States
Grid starts selected. Checked cards use a neutral-900 border, medium text and a check marker shown with opacity. Forced colors use a Highlight border. Radio keyboard focus outlines the label; arrow keys change the selection. Hover fills neutral-50.
Desktop wireframe
┌──────────────────────────────────────────────────────┐
│ Display layout                                       │
│ ┌──────────────────────┐  ┌──────────────────────┐   │
│ │ Icon           Check │  │ Icon                 │   │
│ │ [Grid]               │  │ [List]               │   │
│ └──────────────────────┘  └──────────────────────┘   │
│ ┌──────────────────────┐  ┌──────────────────────┐   │
│ │ Icon                 │  │ Icon                 │   │
│ │ [Columns]            │  │ [Rows]               │   │
│ └──────────────────────┘  └──────────────────────┘   │
│ Choose one layout for the content.                   │
└──────────────────────────────────────────────────────┘