Badges
The badge component displays small inline labels to indicate the status of features, APIs, or content.
Badges can be placed anywhere inside normal Markdown text.
Basic Usage
This feature is :badge{type="new"}.
Result:
This feature is New.
Available Types
| Type | Label |
|---|---|
new | New |
beta | Beta |
stable | Stable |
deprecated | Deprecated |
info | Info |
Examples
New
:badge{type="new"}
Beta
:badge{type="beta"}
Stable
:badge{type="stable"}
Deprecated
:badge{type="deprecated"}
Info
:badge{type="info"}
Custom Text
You can override the default label by placing text inside the component.
:badge{type="beta"}[Experimental]
Result:
ExperimentalUsage in Text
Badges are designed to be used inline.
Authentication :badge{type="stable"} is fully supported.
The legacy API is :badge{type="deprecated"} and will be removed in a future release.
Result:
Authentication Stable is fully supported.
The legacy API is Deprecated and will be removed in a future release.