Countdown Badge

A live countdown badge for launches and limited offers, SSR safe with a finished state.

Launch in--d --h --m --s

Installation

Adds the component and everything it depends on to your project.

npx shadcn add https://ui.beste.co/component/r-base/badge18

New here? Read the installation guide.

Usage

The import and the props worth knowing about, in one place.

import { Badge18 } from "@/components/beste/component/badge18";

<Badge18 target="2027-01-01T00:00:00Z" label="Launch in" />

<Badge18
  target="2026-12-24T18:00:00Z"
  label="Early bird ends in"
  finishedText="Offer ended"   // shown once the target passes
  tone="primary"               // "foreground" (default) | "primary"
/>

Playground

Turn the props on the right; the snippet under them is what you would write to get what you see.

Launch in--d --h --m --s
Usage
import { Badge18 } from "@/components/beste/component/badge18";

<Badge18
  target="2027-01-01T00:00:00Z"
  label="Launch in"
/>

Props

Read from the component's own type, so this cannot drift from what it accepts.

PropTypeDefaultDescription
target*stringTarget date-time, ISO string (e.g. "2027-01-01T00:00:00Z")
labelstringMuted label before the numbers (e.g. "Launch in")
finishedTextstringShown once the target has passed
tone"foreground" | "primary"Number color
classNamestringAdditional classes merged onto the root

More Badge components

View all Badge
Available for new projects

Pulse Status Badge

A status badge with a pulsing dot for availability, live states, and system health.

New template addedThe Auralis studio set is live

Notification Badge

A toast style notification badge with an icon tile, title, and description for product updates.

Announcement Badge

An announcement pill badge with a bold tag, message, and optional link arrow for hero sections.

Est. 2019, Berlin

Barcode Badge

A decorative barcode badge with a monospace caption for editorial and print inspired sections.

12k+active users

Stat Badge

A stat badge with an icon, bold value, and label for quick hero metrics.

Loved by 2,400+ founders

Testimonial Badge

A testimonial badge with an avatar stack, star rating, and social proof text for hero sections.

Markdown version