Component packs › Almanac › Drum Countdown
Every digit is a 3D drum that rolls to the next number like an odometer, and whole units spin through when they tick over.
Drum Countdown is a countdown from Almanac, a component pack with 8 components: Calendar and scheduling components with a feel for time. Price: $2 for the whole pack.
Built with: 3D drums, forward roll, timer role.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
to | Date | four days from now | When it ends. Default: four days from now. |
title | string | ||
doneText | string | Shown at zero. | |
onDone | () => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: runs a fast countdown so the drums keep rolling. |
destroy(): voidimport DrumCountdown from './DrumCountdown';
<DrumCountdown />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Calendar and scheduling.