Badge

Badges are small status descriptors for UI elements.

Badge
<Badge>Badge</Badge>

Installation

pnpm dlx 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

API Reference

Missing description.

Supports all span attributes.

PropType
union

Last updated on 12/21/2025

dotUI

Bringing singularity to the web.

Built with passion by @mehdibha.