Widgets

Drag stepper

A − 24 + pill that is both a stepper and a slider, chosen by how long you hold: tap a button for one step; hold for 260ms and the press turns into a sweep where dragging sideways moves the value by the fraction of the control's width you travel.

What it is

A − 24 + pill that is both a stepper and a slider, chosen by how long you hold: tap for one step, hold and the press turns into a sweep where dragging sideways moves the value. For quantities, durations, temperatures — anywhere a user sometimes wants ±1 and sometimes wants to fly to 90. Rebuilt from bencho.dev.

Full library — live sample, numbers, prompt and source — is for clients. I have the password

Seen in

Lorenzo Cabra · Bencho (stepper) · block logic MIT