Countdown Timer

Animated countdown widgets with fire, ice, and neon themes for drops and sales.

Themes

Fire Theme

Hot new release

00
Hours
:
00
Mins
:
00
Secs
Event Started!

Ice Theme

Cool collection drop

00
Hours
:
00
Mins
:
00
Secs
Event Started!

Neon Theme

Exclusive launch

00
Hours
:
00
Mins
:
00
Secs
Event Started!

Usage

import { CountdownTimer, useCountdown } from "@/components/profile"

// Basic usage
<CountdownTimer
  targetDate={new Date("2024-12-31")}
  title="New Year Sale"
  subtitle="Don't miss out!"
  theme="neon"
/>

// With hook for custom UI
const { days, hours, minutes, seconds, isExpired } = useCountdown(targetDate)

Props

PropTypeDefault
targetDateDaterequired
titlestring-
subtitlestring-
theme"fire" | "ice" | "neon""fire"
onExpire() => void-