Data Display
v1.0.0Added in 1.0.0
Time left until a moment, as rolling digit blocks, inline in a sentence or in words, with a finish callback and done content.
Nothing to press: it counts down on its own and each changed digit rolls into place on a spring (or crossfades, or simply swaps with reduced motion). Leading zero units drop out as time passes, so a launch two days away shows days while the last hour shows only minutes and seconds. At zero onComplete fires once, the done content springs in and screen readers hear the finish once; the ticking itself is never announced, a sentence updated once a minute is read instead. A tab that slept jumps straight to the right value. In the playground pick when the launch is (in 10 s, in 2 days, in 45 days or already past) to watch it tick, finish, or render done.
npx wingo-ui@latest add countdownPro item: the CLI needs a Pro account. See plans
Live on 09/26/2026, 20:52
to=09/26/2026, 20:52 · locale="en-US" · separator=":" · completedContent="" · onComplete ×0