Badge
The Badge component is used to display a small inline badge.
Usage
index.mdx
Types
The Badge component supports four types, each with a different color:
tip
info
warning
danger
index.mdx
Outline style
tip
info
warning
danger
index.mdx
Custom children
You can use the children prop to render custom content inside the badge:
index.mdx
Inline with text
Badge can be used inline with text:
Inlined with text New
index.mdx
In headings
Badge can be used in headings: