Skip to content

Badge ​

Chip status / meta. Mặc định pastel soft; có solid | outline | secondary.

ts
import { Badge } from "@minap/ui";

Sample ​

Props / API ​

Prop / APITypeDefaultNotes
color"primary" | "success" | "warning" | "destructive" | "info""primary"Omit → primary
variant"soft" | "solid" | "outline" | "secondary""soft"soft = fill *-soft (kiểu Active); secondary bỏ qua color
classNamestring—

Behavior ​

  • soft mặc định khớp chip status mobile (token *-soft)
  • có solid | outline | secondary
  • Category: data-display
  • Catalog gallery: /catalog/data-display

MINAP UI · SoT docs/ (VI + thuật ngữ EN)