Skip to content

Date Wheel

Pro

Pick a date by turning month, day, and year wheels. The columns follow the order and month names of the locale, and a range limits the dates.

  • React Aria
  • React 19
  • Tailwind CSS 4

Added Nov 9, 2026 · Pro license

Playground

Loading the preview

Props

Needs your Pro API key in GELATIN_UI_PRO_TOKEN. Set it up

Pro itemAPI key required

Date Wheel needs a Pro API key

Try the live preview for free. With Pro, the add command above puts the source in your project.

Files it adds
20
More Pro items, one API key
+327
Your coding agent runs it
1 cmd

$79$129once, for life

Already have Pro? Sign in to set up your API key.

Give it a CalendarDate. The columns follow the locale order.

birthday-field.tsx

DateWheel

<div>
PropTypeDefaultDescription
namestring—The form field name: a hidden input sends the date as YYYY-MM-DD.
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"—
valueCalendarDate—
defaultValueCalendarDate—The first date; 2000-01-01 when left out (a server and a browser render the same date).
onValueChange—
minValueCalendarDate—The first date that can be picked; the year column starts at its year (1900 when left out).
maxValueCalendarDate—The last date that can be picked; the year column ends at its year (2100 when left out).
labelsPartial<Record<DatePart, string>>—The spoken names of the columns.
...props<div> attributes—Every other attribute goes to the <div>, with a ref.
  • Use it for a date of birth or another date many years back.
  • Use minValue and maxValue to limit the years and disable the dates outside them.
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 Date Wheel

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