TimeDial Web Component

Interactive time selection wheel. Click the inner disc to select hours (0-11), click the outer ring to select minutes (0-59).

Keyboard shortcuts: Tab to switch between hour/minute | Arrow keys adjust value | H = hours | M = minutes

View on GitHub

Core Features & Interaction

Complete demonstration of basic usage, value control, keyboard navigation, and disabled state.

03:45
03:45
hour
Enabled
Navigate: Tab (switch sectors) | H (hours) | M (minutes)
Adjust: ↑/→ (increment) | ↓/← (decrement)

Size Variations

The size attribute controls the widget dimensions. Default is 240px.

120px
180px
240px (default)
360px
Note: All dials are fully functional at any size. Try clicking or dragging on any of them.

Display Configuration

Configure hour and minute overlays independently using none | ticks | dots | labels.

Custom Styling with CSS Variables

Use CSS custom properties to completely customize the appearance without shadow DOM piercing.

Default
Ocean
Sunset
Dark
Available CSS Variables: