Badge

A short status label in six tones. The word carries the meaning, and the color backs it up.

Tones

Draft

Neutral

Plain status with no judgment.

New

Accent

Draws the eye. Use one at a time.

In review

Info

Something is in progress.

Paid

Success

Done and good.

Due soon

Warning

Needs attention before long.

Overdue

Error

Needs attention now.

In use

Made-up businesses, for the demo.

Code

Plain HTML for any site, or React. Both use the same styles, so the badge looks the same wherever it lands.

ReadyAny website, Shopify, WordPress, Square, plain hosting

<link rel="stylesheet" href="tokens.css">
<link rel="stylesheet" href="base.css">

<!-- Badge: a short label. The word carries the meaning, never color alone. -->
<span class="prism-badge">Draft</span>
<span class="prism-badge prism-badge--accent">New</span>
<span class="prism-badge prism-badge--info">In review</span>
<span class="prism-badge prism-badge--success">Paid</span>
<span class="prism-badge prism-badge--warning">Due soon</span>
<span class="prism-badge prism-badge--error">Overdue</span>

Accessibility