Components

Countdown Timer

A full-screen countdown with fluid rolling digits, play/pause and reset controls, and auto-loop, built with NumberFlow and Motion.

Install

npx @crafterui/cli@latest components add countdown-timer

For AI

Open .md

Usage

"use client"

import { CountdownTimer } from "@/registry/crafterui/ui/countdown-timer"

export default function CountdownTimerDemo() {
  return (
    <div className="flex h-full w-full items-center justify-center bg-background text-foreground">
      <CountdownTimer
        duration={33}
        autoStart
        loop
        label="Countdown with Number Flow"
        accentColor="#ff3828"
        digitClassName="font-bebas-neue"
      />
    </div>
  )
}