Measured entry

neu-badge

badgeneumorphismfirst party

A compact React status badge rendered as a single JSX component, with optional dot, custom children, and class overrides. It ships as source rather than a package and relies on Tailwind utility classes, including arbitrary shadow values, for its neumorphic treatment.

Specimen
Harness screenshot of neu-badge at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-badge at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of neu-badge 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 neu-badge
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal17.5 KB (82.9 KB build, 65.4 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A focused, dependency-light badge that builds and mounts cleanly on its own. It is a good fit for light neumorphic dashboards, but its fixed colors and decorative shadows make it less reusable than a token-driven badge system.

Use it if

  • You need a small inline status label on a light neumorphic surface.
  • Your React project already processes Tailwind utilities and arbitrary shadow values.
  • You want simple content, dot visibility, and class overrides without a component library dependency.

Skip it if

  • Your interface uses dark, flat, or high-contrast surfaces where the fixed light palette will look out of place.
  • You need semantic variants, icons, dismissal, or interactive badge behavior built in.
  • Your styling pipeline does not support Tailwind arbitrary values and you do not want to translate the classes.

Install

Installation record for neu-badge
Declared dependenciesnone declared
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

First-party component from the sir-originals set. In a non-shadcn React project, add Tailwind CSS with arbitrary-value class support and ensure the component file is included in content scanning. Otherwise, replace the utility classes with equivalent local CSS. No provider or additional runtime package is required.

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.

Author repository

mrkeyoor/sir-originals
License
MIT
Record published
2026-08-13

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.