Badge
Displays a badge
Was this example helpful?
Usage
import { Badge } from "@medusajs/ui"
<Badge>Badge</Badge>
API Reference
This component is based on the div
element and supports all props of this element.
Prop | Type | Default |
---|---|---|
color | enum | "grey" |
size | enum | "base" |
type | enum | "default" |
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?
Small
Was this example helpful?
Large
Was this example helpful?
Rounded
Was this example helpful?
Icon
Was this example helpful?