Elements

Components

Timer

Timer, dressed in the paper-and-ink system: monospaced digits that never jitter, quiet action triggers on the control recipe. The parts — Root, Area, Control, Item, Separator, ActionTrigger, Context. Unit labels are plain content, not a machine part.

#Basic usage

timer/basic Vue React
18
min
42
sec

#Props

#ActionTrigger

PropTypeDefaultDescription
actionTimerAction—

#Area

A styled part — no props of its own; it takes the anatomy's shared styling.

#Control

A styled part — no props of its own; it takes the anatomy's shared styling.

#Item

PropTypeDefaultDescription
typeTimePart—

#Root

PropTypeDefaultDescription
autoStartbooleanWhether the timer should start automatically
countdownbooleanWhether the timer should countdown, decrementing the timer on each tick.
idstringThe unique identifier of the machine.
idsPartial<{ root: string; area: string; }>The ids of the timer parts
intervalnumber250The interval in milliseconds to update the timer count.
startMsnumberThe total duration of the timer in milliseconds.
targetMsnumberThe minimum count of the timer in milliseconds.
translationstimer.IntlTranslationsSpecifies the localized strings that identifies the accessibility elements and their states

#Separator

A styled part — no props of its own; it takes the anatomy's shared styling.