Component packs › Almanac › Drum Countdown

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.

Drum Countdown props

PropTypeDefaultDescription
toDatefour days from nowWhen it ends. Default: four days from now.
titlestring
doneTextstringShown at zero.
onDone() => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: runs a fast countdown so the drums keep rolling.

Methods on the ref

Use it in React

import DrumCountdown from './DrumCountdown';

<DrumCountdown />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Almanac

Good for: Calendar and scheduling.