Skip to main content
  1. Docs
  2. Components
  3. Data display

Badge

A short, static status or count: one or two words. The word carries the meaning, the tone reinforces it.

Import
@qeetrix/react
Status
StableSince 0.0.2
Renders
<span>Server-rendered
Tested
WCAG 2.2 AAaxe on every pull request

01

Playground

Every prop, live, and the code it takes.

Active
Tone
Variant
Size
status.tsx
import { Badge } from "@qeetrix/react";

<Badge tone="success">Active</Badge>

02

Tones

The word carries the meaning; the tone only reinforces it.

DraftQeet ProInvitedActivePendingBlocked

03

Solid

variant="solid": the bold fill, for the one status in a view that must stand out.

DraftQeet ProInvitedActivePendingBlocked

04

With an icon

icon: a 12px sharp icon before the word, decorative.

VerifiedExpires in 9 daysSuspended

05

Sizes

md, 20px, by default; sm, 16px, for tight rows and beside small text.

ActiveActive

06

In a list

Beside what it describes, at its end.

qid_live_4xKz…9Rp2Live
qid_test_8bQm…1Lc7Test
qid_live_7yHd…3Va9Revoked

07

Long text

It truncates with an ellipsis: pass title with the full text where it may be cut.

Awaiting approval from the finance team
Next — BadgeUsage