KodeKarsa UI

Basics

Badge

A small outlined label for a category, count, or version. No color fill, no dot.

src/components/ui/badge.tsxNo ui-sdk

Tones

Desain12 komentarBaruKedaluwarsav2.4

Import

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

Guidelines

  • For states such as done or late, use Status, not a colored Badge.
  • Accent marks one new or important thing per area; the rest stay neutral.