Icon Badge
Displays an icon badge
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 page helpful?
Examples#
Grey#
Was this example helpful?
Red#
Was this example helpful?
Green#
Was this example helpful?
Blue#
Was this example helpful?
Orange#
Was this example helpful?
Purple#
Was this example helpful?