- Docs
- components
- Badge
Badge
Displays a badge or a component that looks like a badge.
Under Construction
This component is currently being built. Check back soon for updates!
Preview
Code
Badge
Installation
CLI
Manual
Copy and paste the following code into your project.
Update the import paths to match your project setup.
Usage
Link
You can use the BadgeStyles
helper to create a link that looks like a badge.
Examples
Default
Preview
Code
Badge
Secondary
Preview
Code
Secondary
Outline
Preview
Code
Outline
Danger
Preview
Code
Danger
API Reference
Prop | Type | Default |
---|---|---|
variant | enum | "default" |