Skip to content

Time Wheel

Free

Pick a time of day by turning hour, minute, and AM/PM wheels, in the order of the locale. Seconds, minute steps, and a time range are optional.

  • React Aria
  • React 19
  • Tailwind CSS 4

Added Nov 9, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Give it a Time and a step. The columns follow the locale clock.

alarm-time.tsx

TimeWheel

<div>
PropTypeDefaultDescription
namestring—The form field name: a hidden input sends the time as HH:mm:ss.
layout"drum""flat"—drum bends the rows on a turning wheel; flat only fades them.
visibleItemsnumber—How many rows show, an odd number (5 by default).
readOnlyboolean—
invalidboolean—
size"default""lg""sm"—
variant"framed""plain"—
valueTime—
defaultValueTime—The first time; midnight when left out.
onValueChange—
hourCycle1224—12 or 24; the locale clock when left out.
granularity"minute""second""minute"Show a seconds column.
minuteStepnumber1The minutes between two rows (1 by default; 5 or 15 for a booking).
hourStepnumber1The hours between two rows.
minValueTime—Rows before this time are disabled.
maxValueTime—Rows after this time are disabled.
labelsPartial<Record<TimeColumnType, string>>—The spoken names of the columns.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it in a phone sheet or a page where the time is always shown.
  • Use minuteStep for steps of 5 or 15 minutes, and minValue and maxValue for open hours.
  • Use granularity="second" for a seconds column.
TabMoves to the next column. Each column is one tab stop.
Up ArroworDown ArrowTurns the column one row and sets the value.
Page UporPage DownTurns the column five rows.
HomeorEndGoes to the first or the last row that is not disabled.
Left ArroworRight ArrowMoves to the column before or after.

Each column is a range input: one tab stop, with the row text as its value text.

The mouse wheel turns a column only while it has focus, so the page scroll never stops on it.

On a touch screen every row is 44px high.

Flick
glide · a physics spring that keeps the flick speed and settles on the nearest row
Keys and taps
glide · spring to the new row

Built with

Installs with Time Wheel

Components
Wheel
  1. AddedTime Wheel, with Wheel.
Open the release