Your privacy choices

We use cookies and similar technologies. The necessary ones keep the site working. With your permission we would also use others, which you can review in the settings. You can change your mind at any time.

TimePicker

react-fancy
Registry JSON
Why
Building forms with time inputs forces you to either wrap native <input type="time"> (limited styling, inconsistent across browsers, no granular minute control) or reinvent spinner logic and AM/PM toggling from scratch. Without a standard component, every date-picker form drifts in UX, style, and accessibility—and agents cannot reliably navigate spinners via DOM scraping.
What
TimePicker is a controlled spinner component that accepts value (HH:MM string, 24-hour internal format) and onChange, with two display modes: format="12h" renders an AM/PM toggle button; format="24h" omits it. The minuteStep prop controls spinner increment (default 1). It exposes a stable data-react-fancy-time-picker attribute for agent targeting and supports the disabled and className props for state and styling.
How
Import TimePicker from @particle-academy/react-fancy, wire it as , and pass a time string in "HH:MM" format (e.g., "14:30"). Agents read/write value via stable attribute selectors and click the spinner buttons or AM/PM toggle to mutate the bound onChange callback.