Inputs
v1.0.0Added in 1.0.0
A gooey, spring-animated picker for entering a duration in hours and minutes.
Click the pen to spring the segments apart and start editing; the hours field is focused for you and the pen morphs into a tick. Type your values. Anything past the ceiling (24 hr and 60 min by default) clamps to the max and shakes so you know it was corrected. Click the tick to confirm and watch the pill merge back into one piece.
npx wingo-ui@latest add duration-pickerClick the pen to edit, then the tick to save.