Back to Components
Components
Status Indicator
Status badge with colored dot and label for online, offline, pending, or error states.
Online
Pending
Offline
Error
Dependencies
- clsx
- tailwind-merge
Files
- components/ui/status-indicator.tsx
Installation
Using shadcn CLI
npx shadcn add status-indicator --url https://ui.hampton.ioManual installation
Copy the component file to your project and install dependencies:
npm install clsx tailwind-merge