About
A card that displays the number of days until (or since) a date or named holiday, with an animated day count and a formatted date chip.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Countdown Card to your project and fits it to your theme.
Code
How Countdown Card is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client";
import CountdownCard from "@/components/ui/countdown-card";
export default function CountdownCardDemo() {
const year = new Date().getFullYear();
const data = {
title: "Christmas",
date: new Date(year, 11, 25),
days: 40,
};
return (
<div className="flex w-full max-w-sm items-center justify-center bg-background p-8">
<CountdownCard data={data} interactive={false} />
</div>
);
}











