v0.3.1 StableFoundation ComponentReact 18 & 19Zero Runtime CSS

TimePicker

Native local-time entry with platform controls.

Interactive preview

Usage

import { TimePicker } from "@devvy-ui/react";

<TimePicker label="Reminder time" name="time" step={60} />

API reference

Native HTML attributes, className, style and a forwarded ref are supported. Component-specific props:

PropTypeDefaultDescription
labelstringrequiredInput name.
native input propsInputHTMLAttributes—Value, min/max, step, required, events and ref.

Accessibility & behavior

Platform Behavior & Guidelines

Uses the browser time input. Values are local civil times, not UTC instants; application code owns scheduling and time-zone policy.

Source ownership

Run npx @devvy-ui/cli init once in your React project, then add the source:

npx @devvy-ui/cli add time-picker

Make the source yours.

Start from the canonical implementation used by the package and registry. Change the code, keep the MIT notice, and build the behavior your project needs.

TimePicker.tsxREACT / TSX

Edit your own copy. Downloaded source uses your changes; the component preview above uses the shipped version. Run the source installer first to include shared helpers.