Selection wheel

A short list that turns like a drum: a country for your account, a token, how long an order runs. Scroll, drag or flick; it snaps with a tick.

Specs

Every value is a token from Foundations. The names match Figma and the Flutter file.

Card
260 wide, 5 rows visible, bg/raised, radius 28 (radius/popup), 8 inset
Rows
48 tall (size/menu-item), Moonshot/Label/Control; chosen text/primary, others text/secondary
Chosen pill
bg/highlight, radius 20 (radius/card): concentric with the card (20 + 8 = 28)
Curve
outer rows move right on an arc and fade to 22%, scale to .92
Ruler
a 2pt tick every third of a row on the left arc; the centre tick is 14 wide at full ink
Physics
drag 1:1, flicks projected (deceleration .998), snap with a spring, rubber-band at the ends
Haptics
selection click on every row that passes the centre

Usage

Do

  • Use it for one choice from a familiar list of 5 to 30 items.
  • Put the most likely item in the middle when it opens.
  • Show the choice in words next to whatever opened it.

Don't

  • Don't use it for long lists people search (use a searchable list).
  • Don't put actions in it.
  • Don't nest it inside a scrolling sheet that also scrolls vertically.

Accessibility

  • role=listbox with options; aria-activedescendant follows the centre row.
  • Arrow keys move one row, Home and End jump to the ends.
  • Each row is also a tap target that snaps it to the centre.
  • Focus: a 2px focus/ring 2px outside the shape, for keyboard and switch control only. Targets are 44pt or more.