Measured entry

kibo-status

badgeminimal-flat

A small React status badge composed from a shadcn Badge, a utility-class merger, and Tailwind group selectors. It ships through the Kibo shadcn registry as a container, pulsing indicator, and label, with fixed states for online, offline, maintenance, and degraded service conditions.

Specimen
Harness screenshot of kibo-status at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of kibo-status at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kibo-status at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for kibo-status
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal32.1 KB (97.6 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 966ms
error during build:
[vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-3ff9e834ecf2/src/components/ui/badge.tsx".

Verdict

A tidy, narrowly scoped status badge for an existing shadcn codebase, but not a drop-in primitive for a bare React app. It needs a shadcn-style setup, and teams should address the label contrast and narrow-layout overflow before shipping it broadly.

Use it if

  • You need consistent service-state badges in an operations dashboard or status list.
  • Your project already uses shadcn conventions, Tailwind utilities, and the shared Badge primitive.
  • You want a compact state API with a default label and an optional custom label.

Skip it if

  • Status must be conveyed without relying on color and you cannot add stronger accessible text or semantics.
  • Your design system does not use shadcn aliases, utility classes, or registry dependencies.
  • The tested presentation must fit narrow screens unchanged, since it overflowed at the narrow viewport.
  • You cannot review and correct the muted label contrast flagged by the accessibility check.

Install

Installation record for kibo-status
Declared dependenciesradix-ui, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add the shared Badge implementation and its class-variance-authority dependency, a cn helper backed by clsx and tailwind-merge, Radix UI as required by the installed stack, Tailwind processing for the utility and group-state classes, the muted color tokens, and the matching import aliases.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-17

Alternatives

Other published entries for the badge pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.