Back to Components
Components

Status Badge

Badge with dot indicator for success, warning, error, info, and pending states.

Healthy
Review
Failed
Queued
Pending

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/status-badge.tsx

Installation

Using shadcn CLI

npx shadcn add status-badge --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge