Components
← All components

Timer / Countdown

stimeo--countdown

Counts down to a deadline into day/hour/minute/second slots, with pause/resume.

The stimeo--countdown controller follows the role="timer" live-region practice. It computes the time remaining to deadline (or elapsed since it, in direction="up"), formats it into the day/hour/minute/second slots, and ticks on interval. aria-live="off" avoids announcing every second; only completion is surfaced — via the optional status live region when a completeLabel is set, or the complete event. Pause/resume shifts an internal time anchor so the displayed amount is preserved across a pause. It dispatches stimeo--countdown:tick / :complete, and the interval is torn down on disconnect (Turbo included). Behavior only — slot styling is owned by this Playground.

running
0 Days 00 Hours 00 Min 00 Sec