Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rndtpkr

pavankommi462MIT4.0.4TypeScript support: included

Lightweight React Native date/time picker with auto system format, looping wheels, and minute stepping

react-native, ios, android, react-native-datetime, react-native-datetime-picker, react-native-datepicker, react-native-timepicker, react-native-time-picker, react-native-calendar, react-native-daterange, datetime, datetime-picker, datepicker, timepicker, time-picker, calendar, daterange, wheel-picker, date-range

readme

rndtpkr

Fork of react-native-ui-datepicker. does everything it does, just lighter and better.

~49% smaller (4.85 MB lighter) 🎉

What's New

  • Auto time format (autoSystemFormat) Auto 12h/24h detection

  • Minute stepping (minuteStep) 5/10/15/30 min intervals

  • Looping wheels (enableLooping) 23→00→01, 59→00→01 Smart: only loops when 10+ options

  • Smart rounding Next interval up

  • Type safety "00" vs 0 fixed

How We Made It Lighter

  • Dependencies lodash (4.9 MB) → dequal (489 bytes) 99% smaller!

  • Assets PNG/SVG → Unicode Zero bytes

  • Removed Jalali calendar, extra numerals

  • Build Tree-shaking + provenance

Installation

npm install rndtpkr

Usage

import DatePicker from 'rndtpkr';

<DatePicker
  mode="single"
  date={date}
  onChange={({ date }) => setDate(date)}
  timePicker={true}
  autoSystemFormat={true}  // NEW
  minuteStep={15}          // NEW
  enableLooping={true}     // NEW (default)
/>

Contributing

PRs welcome!

License

MIT

changelog

Changelog

4.0.4 (2025-10-03)

Bug Fixes

  • ensure correct initial scroll behavior (cbb5b04)
  • ensure correct initial scroll behavior (7e9aa75)

4.0.3 (2025-10-03)

Bug Fixes

  • smart looping implemented with threshold (f5a7823)
  • smart looping implemented with threshold (1922f49)

4.0.2 (2025-10-03)

Bug Fixes

  • update README (e04cb5f)
  • use text chevrons ‹ › instead of SVG icons (3a9e53b)

4.0.1 (2025-10-02)

Bug Fixes

  • improve wheel picker with 7x looping, type coercion, and bug fixes (c871e12)
  • improve wheel picker with 7x looping, type coercion, and bug fixes (bb54c2c)

4.0.0 (2025-10-02)

⚠ BREAKING CHANGES

  • optimize package and establish rndtpkr identity

Features

  • optimize package and establish rndtpkr identity (e2611c7)

3.1.3 (2025-10-02)

Bug Fixes

  • .gitignore now properly ignores coverage, removed 51 coverage fi… (72630d0)
  • .gitignore now properly ignores coverage, removed 51 coverage files from git tracking (668902d)