Deliverables
Twelve components, four sets of one switch, one checkbox and one radio button. Open a set to try its prototypes, each a labelled list with its spec, then see how they got there.
Brief
Twelve components: four sets, each one switch, one checkbox and one radio button, each set expressing a tone. Tones can repeat across sets. Every design has to do its job. Each one gets a working prototype, with the versions tried along the way shown as its process.
Every component sits in a list, each row with a text label, the way the brief's examples do: a settings row with a switch, a list of meal extras with checkboxes, a language picker with radio buttons.
What each prototype has to show
| In a list of | Must show | |
|---|---|---|
| Switch | Labelled setting rows | Off → on, and on → off |
| Checkbox | Labelled options, any number chosen | Off → on, and on → off |
| Radio buttons | Labelled options, one chosen | Off → on, and on → off |
The spec
No Figma file this week: every prototype carries its own spec, in a section of the prototype page. At least spacing, font, font size and line height, the component's size, and every other property that shapes it, such as roundness and stroke width. The numbers are read from the same values the prototype runs on, so the spec cannot drift from the design.
Research
All three say yes or no to something. What differs is how many answers a list allows, and when the answer counts.
Read mainly against Apple's Toggles guidelines and Material 3's switch, checkbox and radio button pages, every tab of each: overview, specs, guidelines, accessibility. IBM's Carbon, one of the open systems on Design Systems' public list, is a third voice. Where they agree, it is a rule. Where they differ, it is room for a tone.
Three selectors
- Pick it when
- A standalone setting that should act now
- Chooses
- One setting, on or off
- Counts
- At once, no Save button
- In a list
- Every row stands alone
- Keyboard
- Tab to it, Space flips it
- Screen reader
role="switch"witharia-checked: “Wi-Fi, switch, on”
- Pick it when
- Several related options, or a parent with sub-choices
- Chooses
- Any number from a list, none included
- Counts
- Often only once the form is sent
- In a list
- Rows are independent; a parent row can be mixed
- Keyboard
- Tab from box to box, Space ticks it
- Screen reader
- Native
input type="checkbox": “Pickles, checkbox, checked”
- Pick it when
- One answer from two to five, all in view
- Chooses
- Exactly one from a set
- Counts
- Choosing one clears the one before; you cannot go back to none
- In a list
- The rows are one group
- Keyboard
- Tab into the group, arrow keys move and choose
- Screen reader
radiogroupofradios: “English, radio button, 1 of 3, selected”
Which one, and where
Apple's guidelines say less about drawing these controls than about choosing between them, and Material agrees on almost every point. The choice decides the list each prototype sits in.
The row's own words are its label. Outside a list, iOS uses a button that changes its background instead, and macOS keeps switches out of toolbars.
A switch is heavier than a checkbox, so it suits a setting that matters or one that turns on a group. On the Mac, a regular switch leads and mini switches follow.
Checkboxes line up on their leading edge and indent to show what depends on what. A parent whose children disagree shows a dash, the mixed state.
Radio buttons come in sets of two to about five. Past that, the list swallows the screen. Both systems draw the line at five and switch to a menu.
A tick reads faster than a lone dot. Use a pair of radio buttons only when each state needs its own name.
Laid out in a row, every radio button gets the width of the longest label, so the gaps never wobble. Material would rather they were never in a row at all.
Switch, up close
Material draws the switch in dp, the numbers below. The on state is told twice: the handle crosses the track and it grows from 16 to 24 dp, so colour is never the only signal.
- Track52 × 32 dp, fully round. Off: a 2 dp outline and no fill.
- Handle16 dp off, 24 dp on, 28 dp while pressed. Always 24 when it carries an icon.
- Icon, optional16 dp. It has to mean on or off: a check and an X, never a moon or a pencil.
- State layerA 40 dp circle behind the handle on hover, focus and press.
- Target48 dp. Denser layouts may shrink it only when people ask for them.
| Switch | How it behaves |
|---|---|
| Label | Inline and short, naming what the switch does when it is on. The label keeps its colour in both states. |
| Effect | At once, no Save. If it waits, it is not a switch. |
| Keyboard | Tab lands on the handle; Space or Enter flips it. |
| Screen reader | Reads the label, then “switch”. A vague label like “Photo album” gets a fuller accessible name: “Photo album access”. |
| Touch and pointer | Tap or drag grows the handle; hover grows the layer. The control shows it noticed before it changes. |
Checkbox, up close
The smallest of the three, and the only one with a third state. Material 3 added indeterminate and error versions of every state.
- Container18 dp square, 2 dp corners, a 2 dp outline when empty.
- Icon18 dp, centred: a check for on, a dash for mixed.
- State layerA 40 dp circle on hover, focus and press.
- Target48 dp, and the label belongs to it: clicking the words ticks the box.
| Checkbox | How it behaves |
|---|---|
| Label | On the trailing side, scannable. In an editable checklist the box may stand alone. |
| Group | If the set's relation isn't obvious, a heading introduces it, its baseline lined up with the first box. |
| Effect | Usually when the form is sent. When a single box turns something on or off, it acts at once. |
| Keyboard | Tab to each box, Space ticks it. Material's own checkbox key table is copied from its chips page, so the WAI-ARIA pattern is the one to follow here. |
| Screen reader | Reads the label, then “checkbox, checked”. The accessible name is usually the visible label. |
Radio buttons, up close
A radio button never stands alone: the group is the component. Each option needs its own label, because each is a different answer.
- Ring20 dp icon, drawn with a 2 dp stroke.
- Dot10 dp, only in the chosen one.
- State layerA 40 dp circle on hover, focus and press.
- Target48 dp, label included: the words choose too.
| Radio buttons | How they behave |
|---|---|
| Label | Every option has its own, after the circle. The group's title names the group. |
| How many | Two to five. More than that, and a drop-down saves room, at the cost of an extra tap and more thought. |
| Effect | At once, unless the group sits in a dialog or page that is saved. |
| Keyboard | Tab enters at the chosen one, or the first if none (Shift+Tab: the last). Arrows move and choose, wrapping from last to first. Space chooses and never clears. |
| Screen reader | A “radio group” named by its title; each option read by its label. |
Three systems side by side
| Part | Material 3 | Apple | Carbon |
|---|---|---|---|
| Switch | 52 × 32 dp | 51 × 31 pt on iOS; regular and mini on Mac | 48 × 24 px; small 32 × 16 px |
| Switch handle | 16 / 24 / 28 dp | Knob stretches while held | 18 px; small 10 px |
| Switch on colour | Primary | Green, or the app accent if it contrasts | Success green |
| Checkbox | 18 dp, 2 dp corners, 2 dp outline | Small square, title trailing | 16 px, 2 px corners, 1 px outline |
| Checkbox states | Unselected, selected, indeterminate, each with error | Off, on, mixed | Unchecked, checked, indeterminate |
| Radio button | 20 dp ring, 2 dp stroke | Small circle, label after | 18 px ring, 1 px stroke |
| Target | 48 dp | 44 pt | — |
Where Apple and Material disagree
Mostly they say the same thing. Where they part, the brief has to pick a side, and the choice is written into every prototype's spec.
| Question | Apple | Material 3 | What I follow |
|---|---|---|---|
| Radio buttons in a row? | Fine, spaced by the longest label | Avoid horizontal lists | Stacked: the brief puts every control in a list anyway |
| A group with nothing chosen? | Not addressed | Guidelines: always preselect. Accessibility: may start empty, with a way out | Preselect, and add “None” when skipping is a real answer |
| Where the switch's label lives | The row's own content on iOS; a label on Mac | Always an inline label, never text in the track | The row label, nothing written on the control |
| Switch colour | Green by default; change it only if needed | The theme's primary colour | Colour is a tone lever, as long as on stands clear of off |
| How on is told apart | Fill, shape or inner mark, never colour alone | Position and a bigger handle, optional icon | Two signals at least, one of them not colour |
| Mixed state | Checkboxes; radio can, but rarely should | Checkbox only, plus error states | Only a parent checkbox |
| Keys that flip a switch | Space (platform default) | Space or Enter | Both |
How each one moves
Material 3's own code, read for what moves, for how long and on which curve. Click a row to play it: each bar underneath fills on that part’s own curve, on one shared 0–500 ms clock.
Table view
| Part | Duration | Curve |
|---|---|---|
| Switch handle, position | 300 ms | Overshoot, cubic-bezier(0.175, 0.885, 0.32, 1.275) |
| Switch handle, size | 250 ms | Standard, cubic-bezier(0.2, 0, 0, 1) |
| Switch handle, pressed | 100 ms | Linear |
| Switch handle, colour | 67 ms | Linear |
| Checkbox, checking (box and mark) | 350 ms | Emphasized decelerate, cubic-bezier(0.05, 0.7, 0.1, 1) |
| Checkbox, unchecking | 150 ms | Emphasized accelerate, cubic-bezier(0.3, 0, 0.8, 0.15) |
| Radio, inner dot grows | 300 ms | Emphasized decelerate |
| Radio, dot out and ring colour | 50 ms | Linear |
What the motion teaches
Turning on eases into place and earns a look; turning off hurries away. Material's checkbox leaves in under half the time it arrives.
The switch handle crosses the track, so where it ends is the answer. A small overshoot makes it feel thrown rather than placed.
Held down, Material's handle swells to 28 in 100 ms; iOS stretches its knob into a pill. The control shows it felt the finger before anything changes.
The radio dot swells out of the ring's centre; the checkbox fill pops up from 60%. Nothing slides in from somewhere else.
Colour changes in 50 to 67 ms, almost instantly. The time is spent on shape and position, which is where the eye follows the change.
On iOS the knob can be dragged, and a spring picks up the finger's speed where the drag ends. With reduced motion on, the end states alone still have to read.
Speed is a tone, too
Carbon draws the same switch with the opposite temper. Its handle and track colour move together in 70 ms on an exit curve, with no overshoot: the switch is simply already there. Material spends 300 ms and lets the handle overshoot. Same job, two characters, so duration and curve belong to the tone, not only to the spec.
| Switch handle | Duration | Curve | Reads as |
|---|---|---|---|
| Material 3 | 300 ms | Overshoot, cubic-bezier(0.175, 0.885, 0.32, 1.275) | Thrown, springy |
| Carbon | 70 ms | Exit productive, cubic-bezier(0.2, 0, 1, 0.9) | Instant, matter-of-fact |
| Apple, iOS | Spring | Carries the finger's speed after a drag | Physical, held |
Rules the tone has to survive
Clicking the words flips the control too. Material draws an 18 dp box inside a 48 dp target: the drawing can be tiny, the hit area cannot.
“Wi-Fi” stays “Wi-Fi” whether it is on or off. The control carries the state; rewriting the words as it flips only makes people read twice.
On and off must differ in shape or position too. Apple names three ways: add or remove a fill, show or hide a shape, change the mark inside. WCAG 1.4.1.
The outline of an empty box or ring needs 3:1 contrast against what is behind it, off state included. WCAG 1.4.11. A new accent colour has to stand clear of the off state too.
Flip it and the thing is already on. If a choice waits for Submit, it is a checkbox, not a switch.
Tab lands on the chosen radio once; the arrow keys move the choice. Start with one chosen, or the group can never return to none.
When a row needs help
On the Mac a tooltip, which Apple calls a help tag, appears when the pointer rests on a control; in visionOS, when the eyes do. Touch has no hover, so on a phone the same sentence lives under the label instead. Atlassian suggests a tooltip to say what flipping a toggle will do, which is where week 2's tooltips meet these rows.
Describe only the control the person is asking about, not its neighbours and not the bigger task around it.
Say what the control does, as an action: “Pause background updates”. The label already says “Low Data Mode”; repeating it wastes the space.
A fragment, no articles. If a control needs more than that to explain, Apple's advice is to simplify the control, not lengthen the tip.
Sentence case reads as plain speech. Leave off the closing full stop unless the rest of the product uses one.
A selector has two states, so its tip can have two sentences: each says what flipping it now will do.
Don't explain how a standard switch works. If a tone makes the control unfamiliar, orient people with animation, not a paragraph.
The row around it
The brief puts every control in a labelled list, so the row is part of the spec too. A baseline to depart from: a tone can move every number here, as long as the rules above still hold.
| Part | Size | Source |
|---|---|---|
| List row, one line | 56 dp tall, 16 dp side padding | Material 3 lists |
| Row label | 16 sp on a 24 sp line | Material 3, Body Large |
| Label colour | On surface, the same in every state | Material 3 |
| Touch target | 48 × 48 dp | Material 3 |
| Touch target | 44 × 44 pt | Apple |
| Target, the minimum | 24 × 24 CSS px | WCAG 2.5.8 |
Process
Ideation
Loose sketches, each running live in its box.