import Layout from '../../components/Layout' import { ComponentsSidebar } from '../../sidebars' import { Playground } from '../../components/Playground'; import SyntaxHighlighter from '../../components/SyntaxHighlighter'; export default function Badges() { return (

Badge

The Badge component should only be used for state and general text labels. Not for numbers.

Badges are either subtle or bold and use color to indicate meanings that users can learn and recognize across products. Change the badge's appearance to bold by setting isBold

Default

Use default badges for a general status or state, such as: to do, unavailable, minor, not started.

Default
Default Bold
`} />

Success

Use success badges to represent a constructive status or state, such as: operational, available, done, approved, added.

Success
Success Bold
`} />

Removed

Use removed badges to represent a critical or problematic status or state, such as: errors, declined, failed, removed, critical.

Removed
Removed Bold
`} />

In progress

Use inprogress badges to represent an in progress or current status or state, such as: in progress, open, modified.

In progress
In progress Bold
`} />

New

Use new badges to represent a new status or state, such as: trial, new, created, information, help.

New
New Bold
`} />

Moved

Use moved badges to represent a status or state for items that have been changed and require attention, such as: busy, blocked, missing, warning.

moved
moved Bold
`} />

Pill

The Pill component should only be used for numbers.

0
24
`} />
) }