Inline badge
To adopt this styling in a React component, apply the sl-badge class to a span element.
import { InlineBadge } from '~/components';
### Alpha <InlineBadge preset="alpha" />
### Beta <InlineBadge preset="beta" />
### Deprecated <InlineBadge preset="deprecated" />
### Early Access <InlineBadge preset="early-access" />
### Legacy <InlineBadge preset="legacy" />
### Default <InlineBadge text="Default" />Either preset or text and variant must be specified.
- 
alpha- Text: 
Alpha - Variant 
success 
 - Text: 
 - 
beta- Text: 
Beta - Variant 
caution 
 - Text: 
 - 
deprecated- Text: 
Deprecated - Variant 
danger 
 - Text: 
 - 
early-access- Text: 
Early Access - Variant 
note 
 - Text: 
 - 
legacy- Text: 
Legacy - Variant 
danger 
 - Text: 
 
Any string.
- 
note- Color: Blue
 
 - 
tip- Color: Purple
 
 - 
danger- Color: Red
 
 - 
caution- Color: Orange
 
 - 
success- Color: Green