All components

Timer

Countdown and stopwatch with a large tabular readout and start, pause, resume and reset controls.

05
00

Variants

05
00
plain
05
00
surface

Sizes

05
00
sm
05
00
md
05
00
lg

Stopwatch

Without countdown the timer counts up from startMs; a 10ms interval drives the milliseconds item. Restart zeroes it and keeps running.

00
00
000

Completion

The readout is role="timer", so screen readers stay quiet while it ticks; a polite live region announces once when the countdown reaches zero.

00
10

Install

Source

components/ui/ark-ui/timer.tsx