Badge
Data Display
@rockshin/tao-uiShows counts, compact status indicators and ribbons.
This native tao-ui component follows the public API of Ant Design 6.7.0. Appearance, theme tokens and Semantic DOM customization belong to tao-ui; configure themes with TaoProvider.
Badge follows the 6.7.0 count/status API; colors and Ribbon surfaces use tao-ui tokens. Count changes update directly.
When to use
Attach counts to a relevant control; include text when communicating status.
Examples
Counts, zero and overflow
A5B0C99+D120
Change a count
5
Dot and small indicators
8
Status labels
SyncedProcessingNeeds reviewFailedIdle
Custom color and offset
ALNewCustom status
Ribbon placement
Team plan
Shared workspace and collaboration.
Featured
New workflow
Try the updated workflow.
Preview