Skip to content
caliper ui pro docs

Time dial

A circular control for choosing a time.

Pro
121234567891011

Choose the hour

When to use

  • Setting an alarm or a window.

When not to use

  • Precise typing is faster.

Installation

terminal
pnpm dlx shadcn@latest add @caliper/time-dial

Adds its 2 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.

API reference

TimeDial

5 props
PropTypeDefaultDescription
value *string—
onValueChange *(value: string) => void—
labelstring"Time"
stepnumber5Minutes between choices.
classNamestring—

Keyboard

↑
Moves to the previous item or value.
→
Moves to the next item or value.
↓
Moves to the next item or value.
←
Moves to the previous item or value.
Enter
Activates the focused control.

Accessibility

It exposes group and slider semantics, with aria-label, aria-pressed, aria-hidden, aria-valuemin, aria-valuemax and aria-valuenow kept in step with state.

Notes for AI

Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.

/docs/components/time-dial.md

The index of every part is at /llms.txt.

More in Voice & time