Layouts

Badge

Highlight information like status, category, or count.

New

Sizes

Choose between three different sizes for your badges with the size prop.

Small
Default
Large

Icons

Add icons to badges with the icon and icon-trailing props.

Users
Files
Videos

Pill variant

Display badges with a fully rounded border radius using the variant="pill" prop.

Users

As button

Make the entire badge clickable by wrapping it in a button element.

With close button

Make a badge removable by appending a close button.

Admin

Colors

Choose from an array of colors to differentiate between badges and convey emotion.

Zinc
Red
Orange
Amber
Yellow
Lime
Green
Emerald
Teal
Cyan
Sky
Blue
Indigo
Violet
Purple
Fuchsia
Pink
Rose

Solid variant

Bold, high-contrast badges for more important status indicators or alerts.

Zinc
Red
Orange
Amber
Yellow
Lime
Green
Emerald
Teal
Cyan
Sky
Blue
Indigo
Violet
Purple
Fuchsia
Pink
Rose

Inset

If you're using badges alongside inline text, you might run into spacing issues because of the extra padding around the badge. Use the inset prop to add negative margins to the top and bottom of the badge to avoid this.

Page builder
New
Easily author new pages without leaving your browser.
Copyright © 2024 Wireable LLC · Terms of Service
Built with
by Caleb Porzio and Hugo Sainte-Marie