Component libraryTime picker

Time picker

Pro

A controlled native time field with accessible help and error wiring plus a clear 12-hour or 24-hour display.

npx shadcn@latest add @tidal-pro/time-picker
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/time-picker

Import components/ui/tidal.css, components/ui/time-picker.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

label, controlled native HH:mm or optional second/fraction value and onValueChange are required. The component renders a labelled native type=time input and a non-submitting output display. Optional 12-hour or 24-hour display formatting preserves supplied second precision and does not apply a date, locale, time zone, recurrence or schedule rule. Native input name/form/min/max/step/required/autocomplete attributes and ref pass through while controlled type/value/defaultValue, disabled/readOnly, aria-disabled/aria-readonly and ARIA error state remain owned. The native onChange handler runs first and a prevented event suppresses the higher callback. Disabled and readOnly suppress mutation; disabled uses native disabled behavior. Optional hint, error, displayLabel, emptyDisplay and root div attributes/ref remain consumer-owned, with nullish ReactNode values preserved and linked descriptions/errors. Consumers own validation, form submission, reset and every outcome. The component performs no scheduling, date conversion, request, network, storage or backend action.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.