Skip to main content

Badge
component

A component for displaying status, categories, or labels with multiple visual variants. You can view the Storybook for more interactive examples.

Was this section helpful?

Badge

import {Badge} from '@shopify/shop-minis-react'

export default function MyComponent() {
return <Badge>Badge</Badge>
}

Preview

Badge variants and styles

A default badge with primary styling

A secondary badge with muted styling

A destructive badge for warnings or errors

An outline badge with border styling

Was this section helpful?

Default badge

import {Badge} from '@shopify/shop-minis-react'

export default function MyComponent() {
return <Badge>Badge</Badge>
}