Badge

Small status indicators for UI elements
Class Reference

Basic

Basic Badge

Default badge configuration
Badge

Color Variants

Brand Colors

Badges using DaisyUI's theme colors
PrimarySecondaryAccentNeutralInfoSuccessWarningError

Size Variants

Badge Sizes

987,654
987,654
987,654
987,654
987,654

Style Variants

Outline Badges

Border-only badges with transparent fill
PrimarySecondaryAccentNeutralInfoSuccessWarningError

Soft Badges

PrimarySecondaryAccentNeutralInfoSuccessWarningError

Dashed Badges

PrimarySecondaryAccentNeutralInfoSuccessWarningError

Ghost Badges

Ghost

Icon Badges

Info Success Warning Error

Usage Examples

Empty State

Badges without text (for indicators)

Text Integration

Badges used within heading elements

Heading 1New

Heading 2New

Heading 3New

Heading 4New

Heading 5New

ParagraphNew

Button Integration

Badges used within button components

Class Reference

Class Type Description
badge Component Base badge class
badge-outline Style Outline style variant
badge-dash Style Dash outline style variant
badge-soft Style Soft style variant
badge-ghost Style Ghost style variant
badge-neutral Color Neutral color variant
badge-primary Color Primary color variant
badge-secondary Color Secondary color variant
badge-accent Color Accent color variant
badge-info Color Info color variant
badge-success Color Success color variant
badge-warning Color Warning color variant
badge-error Color Error color variant
badge-xs Size Extra small variant
badge-sm Size Small size variant
badge-md Size Medium size (default)
badge-lg Size Large size variant
badge-xl Size Extra large size variant
Do you have a question? ask the community
Do you see a bug? open an issue on GitHub