Badge 徽章

徽章是用来通知用户特定数据的状态。

类名
类型
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
# Badge
Badge
# Badge with brand colors
default
neutral
primary
secondary
accent
ghost
# Outline badge
default
primary
secondary
accent
# Badge sizes
987,654
987,654
987,654
987,654
# Empty badge
# Badge with state colors
info
success
warning
error
# Badge in a text

Heading NEW

Heading NEW

Heading NEW

Heading NEW
# Badge in a button
daisyUI store

New template: SaaS Landing page

Available on daisyUI store

More details