minflow

Pickers

Wheel picker

A wheel for bounded, ordered values that a user nudges rather than searches for: months, hours, repeat counts. It is driven by an index rather than by a scroll box, which is what lets it hold a real cylinder shape, move one row per wheel notch, and answer the arrow keys. At either end it hands the scroll back to the page instead of swallowing it.

npx shadcn@latest add @minflow/wheel-picker

Where to use it

  • Touch-first surfaces and sheets, where spinning beats hunting through a dropdown.
  • Ordered sets of roughly a dozen values: months, hours, minutes, durations.
  • Never for an unordered or long list; that is a select or a combo box.

Variations

Single wheel

One bounded set of values with a starting row already under the band. Scroll, drag, or arrow through it.

May
June
July
August
September
October
November

Side by side

Two or three wheels read as one compound value, which is how a time or a duration picker is built.

6
7
8
9
10
11
12
00
15
30
45
AM
PM

Driven from state

When the chosen value has to appear elsewhere on screen or feed another control, rather than living inside the wheel.

Hourly
Daily
Weekly
Monthly
Quarterly
Usage report sent weekly.