← Back to Components

Tag

Versatile tag component supporting text, avatars, icons, and removable functionality across three sizes

Interactive States

All States - Large Size

Avatar Tags

CN
Chips label

Default

CN
Chips label

Hover

CN
Chips label

Focused

CN
Chips label

Selected

CN
Chips label

Disabled

CN
Chips label

Disabled Selected

Leading Icon Tags

Chips label

Default

Chips label

Hover

Chips label

Focused

Chips label

Selected

Chips label

Disabled

Chips label

Disabled Selected

Text Only Tags

Chips label

Default

Chips label

Hover

Chips label

Focused

Chips label

Selected

Chips label

Disabled

Chips label

Disabled Selected

Complete state matrix showing default, hover, focused, selected, disabled, and disabled selected states

All Sizes

Medium Size

CN
Chips label
Chips label
Chips labelSelectedDisabled

Small Size

CN
Chips label
Chips label
Chips labelSelectedDisabled

Tag component across all size variants with different states

Tag Sizes

All Size Variants

Small Tag

Small (24px height)

Medium Tag

Medium (28px height)

Large Tag

Large (32px height)

Three size options optimized for different contexts and information density

Basic Usage

Text Only Tags

JavaScriptReactTypeScriptNext.jsTailwind CSS

Simple text-only tags for categories, skills, or labels

Tags with Close Button

DesignFrontendReactTypeScript

Interactive tags with close functionality for removable selections

With Avatar

Avatar + Text Tags

Small Size

JD
John Doe
AS
Alice Smith
BJ
Bob Johnson

Medium Size

JD
John Doe
AS
Alice Smith
BJ
Bob Johnson

Large Size

JD
John Doe
AS
Alice Smith
BJ
Bob Johnson

Tags with avatar initials or images for user assignments or mentions

Avatar Tags with Close Button

JD
John Doe
AS
Alice Smith
BJ
Bob Johnson

Removable user tags combining avatar display with close functionality

With Icons

Icon + Text Tags

Small Size

Favorite
Bookmarked
Scheduled

Medium Size

Favorite
Bookmarked
Scheduled

Large Size

Favorite
Bookmarked
Scheduled

Tags with icons for status indicators, categories, or enhanced visual meaning

Icon Tags with Close Button

Favorite
Bookmarked
Scheduled

Removable icon tags for interactive filtering and selection interfaces

Real-World Examples

Skills and Technologies

Frontend Technologies

ReactTypeScriptNext.jsTailwind CSSCSS Modules

Backend Technologies

Node.jsExpressPostgreSQLPrismaRedis

Technology stack and skills representation in profiles or project descriptions

Team Assignment

Assigned to:
JD
John Doe
AS
Alice Smith
MJ
Mike Johnson
Project status:
In Progress
Due Soon

Project management and task assignment with user avatars and status indicators