TailwindAdmin can be used in personal & commercial projects.

Learn more

NiceAdmin can be used in personal & commercial projects.

Learn more

Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI

Component Library

Browse and explore components

Badge

A Badge is a UI component used to display statuses, notifications, or labels.

Default Badges

PrimarySecondarySuccessInfoWarningDanger

Light Badges

PrimarySecondarySuccessInfoWarningDanger

Badge with icon text

2 minutes ago3 days ago4 days ago5 days ago

Icon Badges

Badge Sizes

PrimarySecondarySuccessInfo
PrimarySecondarySuccessInfo
API ( Badge )
PropDescriptionTypeDefault

color

Sets the color of the badge.

"primary" | "success" | "danger" | "warning"

"default"

icon

Adds an icon component inside the badge, usually displayed before the text.

"HiCheck" | "HiOutlineExclamation"

-

size

Controls the size of the badge including icon and text.

"xs" | "sm"

"sm"