Time scrubber

A time picker scrubber for React. Drag the ruler to set a time, or fling it and it coasts to the nearest step. Steps can be 5, 15 or 30 minutes, in 12 or 24 hour format. Works well for booking flows, alarms and scheduling forms.

Time scrubber, at rest

Slide · free, with full source

Time scrubber props

NameTypeDefaultDescription
stepstring"15"What it settles on, in minutes. One of 5, 15, 30.
momentumnumber50How far a fling carries. From 0 to 100.
formatstring"12h"Format. One of 12h, 24h.
cornernumber20pxCorner. From 0 to 32px.

Free under MIT. Licence

More blocks

More slide blocks