Search sites, categories, sections, or styles.
| Prop | Type | Description |
|---|---|---|
duration | number | Seconds per session; default 300. |
label | string | Start label; default "Start Timer". |
disabled | boolean | Disables controls; timer keeps running. |
| Prop | Type | Description |
|---|---|---|
onComplete | (elapsedSeconds: number) => void | At zero; receives focused seconds. |
onStop | (elapsedSeconds: number) => void | On manual stop; excludes paused time. |
| Prop | Type | Description |
|---|---|---|
className | string | Extra wrapper classes. |
style | CSSProperties | Inline styles and CSS variables. |
id | string | Wrapper element ID. |
role | AriaRole | Wrapper accessibility role. |
aria-label | string | Accessible group label. |
| Prop | Type | Description |
|---|---|---|
--timer-size | CSS length | Control height; default 40–56px. |