Skip to main content
Data DisplayLevel 2

Tag

内容标签

WebMobileDesktopDifficulty: Easy

A small non-interactive label attached to content to mark its category or status — you can look at it, not click it.

01

Live Demo

Actually clickable
Live Demo Playground
IMG_0231 CoastlineVideo
clip_01 Time-lapseVideoSaved
IMG_0155 Old photoVideo
A Tag is read-only (no hover, no pointer) — which is exactly what separates it from a Chip.

What you just saw:Colored labels on GitHub issues, category chips at the top of a blog post ("Frontend" / "Performance"), a "Video" tag in a photo library.

02

What it actually is

A tag is the read-only member of the chip family: it only tells you what something is, it never does anything. Its value is that it lets users sort content by category at a glance while scanning — which items in a photo grid are videos, which are favorited.

taglabellabel chipcategory tagstatus tagread-only chip
03

Anatomy · What it's made of

  1. Pill胶囊

    Fully rounded, light background

  2. Text文字

    12px, darker shade of the same hue

  3. Color颜色

    Carries meaning, not decoration

04

When to Use

When it fits, and when it doesn't
Tag usage recommendations
SituationUse it?
Marking the category or status of contentYes
Helping users tell types apart while scanningYes
Distinguishing attributes of items shown side by sideYes
Clicking it should filter or navigate somewhereNo
The user needs to select itNo

Color is the tag's primary information channel — past about six colors users can no longer categorize by color.

Tag versus badge: a tag sits on the content, a badge sits on an icon.

05

Similar Patterns

Don't mix these up
06

How to tell AI

Three levels of prompt

Add the component name and specifics

Add a content Tag at the bottom of every card, using color to signal type ("Video" blue, "Favorited" amber, "Edited" gray). Not clickable.

07

Don't just say this to AI

Bad → Better

Don't say this to AI

Add a tag to the content.

Say this instead

Add content Tags: light background with darker same-hue text (holding contrast at 4.5:1 or better), fully rounded with padding 2px 8px, at most four or five semantic colors used consistently app-wide, and no hover or pointer cursor so they read as read-only.

08

Share this card

Social-ready

Turn this pattern into a 3:4 or 1:1 knowledge card and export it as PNG right in the browser. No backend needed.