Skip to content
shadcn.io
shadcn.io is not affiliated with official shadcn/ui

Shadcn Status for React and Tailwind

Color-coded status for process or state.

Installation

bunx --bun shadcn@latest add https://kit.dev/r/status.json

Usage

import { Status } from "@/components/ui/status";
<Status variant="success" />

Variants

Default

Info

Success

Warning

Destructive

Sizes

Small

Medium

Large

With Badge

With Icon

Place an icon inside the Status.

Custom Size

Use size-* on Status to customize the size.

Custom Color

Use bg-* and text-* utility classes to customize the color.

API Reference

Status

Status badge or indicator.

PropTypeDefault
variant"success" | "info" | "warning" | "destructive""success"
size"sm" | "md" | "lg""md"
classNamestring-
asChildbooleanfalse