Usage
<Tag>API</Tag> <Tag>v2</Tag> <Tag>Tutorial</Tag>#API #v2 #Tutorial
<Tag> renders a hash-prefixed inline label. Use it for blog post categories, topic markers, version tags — anything that classifies content.
Tag vs Badge vs Pill
CodivDocs has three small inline label primitives. Each serves a distinct purpose:
<Tag> | <Badge> | <Pill> | |
| Prefix | # hash | None | None |
| Variants | None (monochrome) | 7 colored variants | None (monochrome) |
| Case | As written | Uppercase | As written |
| Best for | Topics, categories | Status, plan tier | "New", "v2" markers |
Multiple tags on a blog post
---
title: Building an API with CodivDocs
---
<Tag>API</Tag> <Tag>OpenAPI</Tag> <Tag>Tutorial</Tag>
This guide walks through...#API #OpenAPI #Tutorial
This guide walks through...
Props
| Prop | Type | Description |
children | ReactNode | Tag label |