Badge
A badge is a small pill you can drop inline to label something, a status, a version, or a tag. It sits on the text baseline so it reads inside a sentence.
Colors
Stripe is live, billing is in review, and the old API is deprecated. Use info or the default neutral for everything else.
Usage
<script> import { Badge } from '$lib';</script>The new endpoint is <Badge color="success">stable</Badge>.Props
| Prop | Type | Description |
|---|---|---|
color |
string |
neutral, info, success, warn, or error |