Zum Inhalt springen

TagSidebar Demo

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

This page demonstrates the TagSidebar component, a compact sidebar widget for displaying popular tags.

Shows top 10 tags sorted by page count:

import { TagSidebar } from 'starlight-tags/components';
<TagSidebar />

Show only the top 5 tags:

<TagSidebar limit={5} />

Most used tags first:

Tags sorted A-Z:

Uses the priority field from tag definitions:

<TagSidebar showCount={false} />
<TagSidebar title="Browse by Topic" />

Click the header to toggle:

<TagSidebar collapsible={true} collapsed={true} />
<TagSidebar collapsible={false} />
<TagSidebar
limit={8}
sortBy="count"
showCount={true}
title="Top Topics"
collapsible={true}
/>

See the TagSidebar documentation for full API reference and integration instructions.