Ruixen Pro is now live.50+ premium components, templates, blocks, and lifetime updates.

Command Palette

Search for a command to run...

Docs
Scrub Datetime

Scrub Datetime

An inline date-time picker where the text IS the interface — drag any segment horizontally to scrub through values, scroll to increment, click AM/PM to toggle.

Installation

Props

PropTypeDefaultDescription
valueDate-Controlled date value (use with onChange)
defaultValueDatenowInitial date for uncontrolled mode
soundbooleantrueEnable soft mechanical tick on each step
minYearnumber2015Earliest year available for scrubbing
maxYearnumber2035Latest year available for scrubbing
onChange(date: Date) => void-Callback fired when any segment changes