Base
Pure CSS
Badge
The short status label in seven tones with a dot, a live pulse and a solid variant — on invoices, deploys and plans.
Real scenarios
The component as it is used in a product — not a specimen grid.
An invoice ledger, every row a verdict
Soft tones by day; hover the overdue one and press the chase button — the toast is the receipt.
- #1,404 Nabu Studio 48,260,000 Toman Paid
- #1,405 Aban Clinic 12,750,000 Toman Pending review
- #1,406 Kavir Tech 9,800,000 Toman Overdue 9 days
- #1,407 Studio Lume 3,400,000 Toman Draft
The billing header
solid gold announces the plan; the pulse marks a live number, not a cached one.
Pro
142 shoppers online
Renews on 30 Mehr
Every tone, one line
neutral · accent · success · warning · danger · info · gold — soft on top, solid below.
neutral
accent
success
warning
danger
info
gold
neutral
accent
success
warning
danger
info
gold
Important props
| Prop | Type | Default | What it does |
|---|---|---|---|
| tone | string | neutral | neutral · accent · success · warning · danger · info · gold. |
| variant | string | soft | soft (tinted) or solid. |
| dot / pulse | bool | false | A dot beside the text; pulse makes it breathe live. |
| size | string | md | md or lg. |
Snippet
<x-nx::badge tone="success" dot>پرداخت شد</x-nx::badge>
<x-nx::badge tone="danger" pulse>زنده</x-nx:badge>
<x-nx::badge tone="gold" variant="solid" size="lg">پرو</x-nx:badge>