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

0.3.0

  • icon takes an element as well as a component (icon={<PlusIcon />}), so a Server Component can pass one: its type is IconSource.

02

0.1.1

  • Its icon is sized by --qx-size-icon-2xs, 12px; it looks the same.

03

0.1.0

  • variant="solid", the bold fill, and size="sm", 16px.

04

0.0.2

  • Badge: pills in six tones with an optional sharp icon. Server-safe.

Every change to @qeetrix/react

Next — Data displayChip