Zum Inhalt springen

TagBadge Demo

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

This page demonstrates the TagBadge component, which renders a single tag as a styled badge.

Single tags with different configurations:

import { TagBadge } from 'starlight-tags/components';
<TagBadge tagId="configuration" />

Filled background with the tag’s color:

Bordered with transparent background:

Subtle background tint:

Show how many pages use each tag:

Hide the tag icon:

Render as a span instead of a link:

Configuration Guide

See the TagBadge documentation for full API reference.