Tailwind CSS React Badge - Horizon UI

Get started on your web projects with our Tailwind CSS Badge which is a compact elements that represent an input, attribute, or action. This element appears dynamically as a group of multiple interactive elements and allows users to enter information, make selections, filter content, or trigger actions.

See below our simple Badge component example that you can use for your Tailwind CSS and React project. The example also comes in different styles and colors, so you can adapt it easily to your needs.


Default

Badge Variants

The Badge component comes with 2 different variants that you can change it like you want.

Default
Default

Badge Colors

The Badge component comes with 19 different colors that you can change it using the color prop.

Default
Secondary
Dark
Blue
Red
Green
Purple
Yellow
Orange

Badge with Icon

You can add an icon at the beginning of Badge component using the icon prop.

Default