Component packs › Latch › Dial Time

Dial Time

Spin the dial and it keeps turning, then clicks into a detent; switch AM and PM and the face turns from day to night with a sun or moon riding round.

Dial Time is a time picker from Latch, a component pack with 8 components: Form and sign-in components that work like little mechanisms. Price: $2 for the whole pack.

Built with: momentum + detents, day/night face, slider role.

Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.

Dial Time props

PropTypeDefaultDescription
valuestring"09:30"Starting time as "HH:MM" (24 h). Default "09:30".
step1 | 5 | 10 | 155Minute step for the minute ring. Default 5.
titlestring
onChange(value: string) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: spins and flips AM/PM until touched.

Methods on the ref

Use it in React

import DialTime from './DialTime';

<DialTime />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Latch

Good for: Form and sign-in components.