Badge

Badges are small status descriptors for UI elements.

Badge
<Badge>Badge</Badge>

Installation

npx shadcn@latest add @dotui/badge

Usage

Use badges to highlight status, categorize items, or show counts.

import { Badge } from "@/components/ui/badge";
<Badge>Badge</Badge>

Playground

Use the controls below to experiment with different badge props and see the live preview and code update.

Badge
variant
<Badge variant="default">Badge</Badge>

API Reference

Missing description.

Supports all span attributes.

PropType
union

Last updated on 1/13/2026

Built with passion by @mehdibha.