Icon Badge
Displays an icon badge
Was this example helpful?
Usage
1import { IconBadge } from "@medusajs/ui"2import { BuildingTax } from "@medusajs/icons"
1<IconBadge>2 <BuildingTax />3</IconBadge>
API Reference
This component is based on the span
element and supports all props of this element.
Prop | Type | Default |
---|---|---|
color | enum | "grey" |
size | enum | "base" |
Was this section 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?
Base
Was this example helpful?
Large
Was this example helpful?