徽章是用来通知用户特定数据的状态。
类名 | 类型 | |
---|---|---|
badge | 组件类 | Container element |
badge-neutral | 装饰类 | badge with `neutral` color |
badge-primary | 装饰类 | badge with `primary` color |
badge-secondary | 装饰类 | badge with `secondary` color |
badge-accent | 装饰类 | badge with `accent` color |
badge-ghost | 装饰类 | badge with `ghost` color |
badge-info | 装饰类 | badge with `info` color |
badge-success | 装饰类 | badge with `success` color |
badge-warning | 装饰类 | badge with `warning` color |
badge-error | 装饰类 | badge with `error` color |
badge-outline | 装饰类 | transparent badge with [colorful] border |
badge-lg | 响应类 | badge with large size |
badge-md | 响应类 | badge with medium size (default) |
badge-sm | 响应类 | badge with small size |
badge-xs | 响应类 | badge with extra small size |