Kinetik UI

Time Wheel

.md

Wheels for a time of day: rows tilt away like a drum, each wheel snaps row by row with a tick.

v1.0.0Live on webreact-native-reanimatedreact-native-worklets
Component preview

Installation

Kinetik CLI
npx kinetik-ui add time-wheel

The CLI copies the source and installs native dependencies with npx expo install, so versions match your Expo SDK. With shadcn: npx shadcn@latest add https://kinetik-ui.dev/r/time-wheel.json

Install manually

  1. Install dependencies
    npx expo install react-native-reanimated react-native-worklets
  2. Copy the source files
    • components/kinetik/time-wheel.tsx
    View source files

Usage

import { TimeWheel } from '@/components/kinetik/time-wheel';

<TimeWheel
  accessibilityLabel="Alarm"
  value={time} // { hours: 7, minutes: 30 }
  onChange={setTime}
  minuteStep={5}
/>;

When to use

  • Setting a time of day: an alarm, a reminder, opening hours, a delivery window.
  • Places where a thumb is quicker than typing digits.

When not to use

  • Durations or countdown lengths beyond 24 hours. Use Roll Stepper or a number field.
  • Picking a date. Use Month Calendar.

Notes

  • value.hours is always 0–23, also with hourCycle="12h", which adds an AM/PM wheel.
  • Each wheel snaps row by row and ticks as rows pass the middle; the value is set when the wheel comes to rest.
  • Every wheel is an adjustable element: screen readers can swipe up and down to step it.
  • With reduced motion rows stay flat (no tilt) and programmatic changes jump instead of scrolling.

Props

TimeWheelProps

PropTypeDefaultDescription
valuerequiredTimeValue—Hours 0–23 and minutes 0–59.
onChangerequired(value: TimeValue) => void—
minuteStepnumber1Minutes step by this much. Defaults to 1.
hourCycle'12h' | '24h''24h'"12h" adds an AM/PM wheel. Defaults to "24h".
accessibilityLabelstring'Time'Names the picker for screen readers. Defaults to "Time".
hapticsbooleantrueA tick for every row that passes the middle. Defaults to true.
testIDstring—
styleStyleProp<ViewStyle>—

Performance and accessibility

Performance

Budget
Native scroll views; each row reads its wheel's scroll offset in one animated style. Nothing runs at rest.
Measured

Pixel 9 emulator, API 35, release build · interaction median 0.94× the system Settings app on the same emulator (indicative only) · no frames drawn at rest · 145 MB app memory. Janky frames come from the native fling and snap of the scroll views; rows stay at 17 ms median.

Real-device measurement pending.

Accessibility

Reduced motion
Rows stay flat and changes from outside jump instead of scrolling.
Screen readers
Each wheel is an adjustable element named after its part of the time, with the shown value.
Touch target
Each wheel is 72 by 200 pt.

Source files

components/kinetik/time-wheel.tsx is in the Code tab of the preview above.