Status Badge

Displays a status badge

Status
Was this example helpful?

Usage#


Code
import { StatusBadge } from "@medusajs/ui"
Code
<StatusBadge color="green">Active</StatusBadge>

API Reference#


This component is based on the span element and supports all of its props

PropTypeDefault
color
"green"
|"red"
|"blue"
|"orange"
|"grey"
|"purple"
"grey"
Was this helpful?

Examples#


Grey#

Status
Was this example helpful?

Red#

Status
Was this example helpful?

Green#

Status
Was this example helpful?

Blue#

Status
Was this example helpful?

Orange#

Status
Was this example helpful?

Purple#

Status
Was this example helpful?
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break