Skip to content

Badge

Badges are used to inform the user of the status of specific data.

Link to DaisyUI documentation

Properties

Property Required Type Description
color No str (one of: primary, secondary, accent, neutral, success, warning, info, error)
size No str (one of: xs, sm, md, lg, xl)
soft No bool
outline No bool
dash No bool
ghost No bool
Any additional properties No any

Children

Accepts any HTML content

Examples

<{Badge}>

</{Badge}>