minflow

Selection

Input stepper

For counts a user nudges rather than types. The number rolls up or down to match the direction of the change, which makes repeated taps readable without watching the digit closely.

npx shadcn@latest add @minflow/stepper

Where to use it

  • Quantities, seat counts, retry limits, anything usually adjusted by one or two.
  • Never for large ranges; a slider or a plain input handles those better.

Variations

Standard

The default increment and decrement pair.

2

With bounds

When the value has a real minimum or maximum, so the controls disable at the ends instead of failing silently.

1