# Beste UI

> Beautiful, accessible blocks, pieces and components for shadcn/ui and Tailwind CSS, built for React and Next.js. Install one with the shadcn CLI and the code is yours to edit: no runtime dependency, nothing to upgrade.

Markdown rendition of https://ui.beste.co/component/badge18. Every page on the site has one: add `.md` to any address, or send `Accept: text/markdown`.

Whole catalog for LLMs: https://ui.beste.co/llms.txt. Registry index: https://ui.beste.co/r/registry.json

---
1. /
2. [Components](/components)
3. /
4. [Badge](/components/badge)
5. /
6. Countdown Badge

# Countdown Badge

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

PreviewCode

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

## Installation

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

![](https://oud.pics/sm/l/npm.svg)npm![](https://oud.pics/sm/l/bun.svg)bun![](https://oud.pics/sm/l/pnpm.svg)pnpm![](https://oud.pics/sm/l/yarn.svg)yarn

Base UI

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

New here? Read the [installation guide](/docs/installation).

## 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

TargetLabelFinished text

Surface

Toneforeground

## Props

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

| Prop         | Type                      | Default | Description                                                |
| ------------ | ------------------------- | ------- | ---------------------------------------------------------- |
| target\*     | string                    | —       | Target date-time, ISO string (e.g. "2027-01-01T00:00:00Z") |
| label        | string                    | —       | Muted label before the numbers (e.g. "Launch in")          |
| finishedText | string                    | —       | Shown once the target has passed                           |
| tone         | "foreground" \| "primary" | —       | Number color                                               |
| className    | string                    | —       | Additional classes merged onto the root                    |

[PreviousNotification Badge](/component/badge17)[NextTag Group Badge](/component/badge19)

On this page
* [Preview](#preview)
* [Installation](#installation)
* [Usage](#usage)
* [Playground](#playground)
* [Props](#props)

## More Badge components

[View all Badge](/components/badge)

[](/component/badge8)

Available for new projects

### Pulse Status Badge

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

[](/component/badge17)

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.

[](/component/badge21)

[NewThe Auralis studio set is live](#)

### Announcement Badge

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

[](/component/badge11)

Est. 2019, Berlin

### Barcode Badge

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

[](/component/badge15)

12k+active users

### Stat Badge

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

[](/component/badge14)

![](https://i.pravatar.cc/64?img=12)![](https://i.pravatar.cc/64?img=32)![](https://i.pravatar.cc/64?img=45)![](https://i.pravatar.cc/64?img=8)Loved by 2,400+ founders

### Testimonial Badge

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

## Ship the interface, keep the code.

New blocks, pieces and components every week. Install one with a command and it is yours to edit. No runtime dependency, no upgrade path to fight.

[Browse the libraryBrowse the library](/blocks)[See pricingSee pricing](/pricing)

### Library

* [Blocks](/blocks)
* [Pages](/pages)
* [Pieces](/pieces)
* [Components](/components)
* [Search](/search)

### Learn

* [Docs](/docs)
* [AI & MCP](/docs/mcp)
* [Blog](/blog)
* [Free tools](/tools)
* [What's new?](/changelog)
* [Website Builder](https://beste.co)

### More

* [Pricing](/pricing)
* [Referrals](/referrals)
* [License](/license)
* [GitHub](https://github.com/beste-co/beste-ui)

### Shadcn Blocks

* [Shadcn Hero Blocks](/blocks/hero)
* [Shadcn Feature Blocks](/blocks/feature)
* [Shadcn Pricing Blocks](/blocks/pricing)
* [Shadcn CTA Blocks](/blocks/cta)
* [Shadcn FAQ Blocks](/blocks/faq)
* [Shadcn About Blocks](/blocks/about)
* [Shadcn Stats Blocks](/blocks/stats)
* [Shadcn Footer Blocks](/blocks/footer)
* [Shadcn Navigation Blocks](/blocks/navigation)
* [Shadcn Auth Blocks](/blocks/auth)
* [Shadcn Ecommerce Blocks](/blocks/ecommerce)
* [Shadcn Portfolio Blocks](/blocks/portfolio)
* [Shadcn Showcase Blocks](/blocks/showcase)
* [Shadcn Careers Blocks](/blocks/careers)
* [Shadcn Onboarding Blocks](/blocks/onboarding)
* [Shadcn Coming Soon Blocks](/blocks/coming-soon)
* [Shadcn Post Blocks](/blocks/post)
* [Shadcn Legal Blocks](/blocks/legal)
* [Shadcn Workflow Blocks](/blocks/workflow)
* [Shadcn News Blocks](/blocks/news)

© 2026, [Beste](https://beste.co). All rights reserved.