Icon Badge
A component that displays an icon in a badge.
In this guide, you'll learn how to use the Icon Badge component.
Was this example helpful?
Usage#
API Reference#
This component is based on the span
element and supports all of its props
Prop | Type | Default |
---|---|---|
asChild | boolean | false |
color | "green" | "red" | "blue" | "orange" | "grey" | "purple" | "grey" |
size | "base" | "large" | "base" |
Was this helpful?
Examples#
Colors#
Was this example helpful?
Sizes#
Was this guide helpful?