Badges & Tags

Badges and Tags are compact visual elements used to label, categorize, or highlight information. While they share similarities, they serve different purposes: Badges are typically used for status indicators, counts, and quick visual cues, while Tags are used for categorization, filtering, and dismissible labels.


Badge

Quick, colorful indicators for status, counts, and highlights. Badges are compact visual cues used to surface key information—such as unread messages, statuses, or notifications. They come in various styles and colors, with support for text, icons, or dots.

Color Variants

Badges come in 10 color variants to match different contexts and meanings.

Filled Style

RedOrangeYellowGreenTealSkyBluePurplePinkGray

Light Style

RedOrangeYellowGreenTealSkyBluePurplePinkGray

Stroke Style

RedOrangeYellowGreenTealSkyBluePurplePinkGray

With Dot Indicator

Badges can include a dot indicator to draw extra attention.

ErrorSuccessInfoWarningFeature

With Icon

Badges can include custom icons for additional context.

VerifiedVerifiedVerified

Sizes

Badges come in two sizes: small and medium.

SmallMediumSmall with dotMedium with dot

Badge Props

PropTypeDefaultDescription
variantfilled, light, strokefilledThe visual style of the badge
colorred, orange, yellow, green, teal, sky, blue, purple, pink, grayblueThe color theme
sizesm, mdmdThe size of the badge
dotbooleanfalseShow a dot indicator
iconReact.ReactNode-Custom icon to display
childrenReact.ReactNode-Badge text content

Tag

Tags are interactive labels used for categorization, filtering, and grouping. They support various content types including avatars, icons, logos, and flags, and can be dismissible or show counts.

Basic Tags

Default Tag
Dismissible
With Count10

With Dot

Tags with a colored dot indicator for status.

Active
Error
Warning
Info
Dismissible
With Count5

With Icon

Tags with custom icons.

Verified
Dismissible
With Count3

With User Avatar

Tags for displaying user information.

BS
Bradly Spencer
JD
John Doe
AS
Alice Smith2

With Company Logo

Tags for displaying company/brand information.

F
Figma
S
Slack
N
Netflix5

With Country Flag

Tags for displaying country/region information.

Norway
Norway
Norway10

All Variants Overview

A complete overview showing all tag variants with all states.

VariantDefaultDismissibleWith Count
Default
Tag
Tag
Tag10
Dot
Tag
Tag
Tag10
Icon
Tag
Tag
Tag10
User
BS
Bradly Spencer
BS
Bradly Spencer
BS
Bradly Spencer10
Company
F
Figma
F
Figma
F
Figma10
Country
Norway
Norway
Norway10

Tag Props

PropTypeDefaultDescription
variantdefault, dot, icon, user, company, countrydefaultThe type of tag
iconReact.ReactNode-Icon for icon variant
avatarReact.ReactNode-Avatar for user variant
logoReact.ReactNode-Logo for company variant
flagReact.ReactNode-Flag for country variant
dotColorstringbg-success-baseTailwind color class for dot
dismissiblebooleanfalseShow close button
countnumber-Show count badge
onDismiss() => void-Callback when dismissed
childrenReact.ReactNode-Tag text content