Doc Status Badges
Stablev0.1.0-alpha
Every documentation page carries a <DocBadge> to communicate two things at a glance:
- Status — is this doc accurate and reviewed, or still in progress?
- Version — which release does this doc target?
Usage
Place <DocBadge> immediately after the page's # Title heading (or after the frontmatter --- if the page has no H1):
# My Page Title
<DocBadge status="under-review" version="v0.1.0-alpha" />
First paragraph...
No import is needed — the component is registered globally.
Props
| Prop | Type | Description |
|---|---|---|
status | string | Stability / review state (see values below) |
version | string | Release version this doc targets, e.g. v0.1.0-alpha |
reviewedAt | string | Last reviewed against, e.g. 2026-06 |
All props are optional. You can use any combination.
Status Values
| Value | Badge | Meaning |
|---|---|---|
stable | green | Accurate, reviewed, matches the current release |
under-review | amber | Content is present but not yet verified against the current codebase |
experimental | orange | Documents a feature that is subject to breaking changes |
beta | blue | Feature is usable but the API or behaviour may still change |
deprecated | gray | Feature is being phased out; doc retained for reference |
Examples
<DocBadge status="stable" version="v0.2.0" />
<DocBadge status="under-review" version="v0.1.0-alpha" reviewedAt="2026-06" />
<DocBadge status="experimental" version="v0.2.0-beta" />
<DocBadge status="deprecated" />
Frontmatter Convention
Add matching status and version fields to the page frontmatter. They are not rendered by Docusaurus today, but they make docs machine-queryable for future tooling (e.g., a CI check that flags stale docs):
---
title: "My Page"
description: "..."
status: under-review
version: v0.1.0-alpha
---
Updating a Badge
When you update a doc to reflect the current codebase:
- Change
statusfromunder-reviewtostable(or the appropriate state). - Update
versionto match the release the doc now targets. - Optionally add
reviewedAtwith the current month.
<DocBadge status="stable" version="v0.2.0" reviewedAt="2026-06" />