interface BadgeProps

Properties

Semantic variant determining color scheme

optional
size: BadgeSize

Size of the badge

Visual style

Custom theme color (for primary variant)

optional
darkMode: boolean

Enable dark mode support (default: true)

optional
removable: boolean

Removable badge (shows X icon)

optional
dot: boolean

Dot indicator (no text, just colored dot)

optional
class: string

Additional CSS classes to merge

Usage

import { type BadgeProps } from ".";