Measured entry

tripled-native-badge

badgeglassmorphismmotion on file

A client-side React badge delivered as a shadcn registry component. It uses Tailwind theme utilities and a local cn helper, CVA for variants, Framer Motion for entry and icon animation, and Lucide for the default sparkle. It renders a motion div rather than a semantic status primitive.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-badge at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-badge at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-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 tripled-native-badge
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal72.0 KB (137.5 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 678ms
error during build:
[vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-da09e2f48b01/src/cut/components/uitripled/native-badge-carbon.tsx".

Verdict

A flexible visual badge with good responsive behavior and reduced-motion handling, but it needs a shadcn-style setup and its default colors need contrast work. The animation dependency is hard to justify for a simple static label.

Use it if

  • You want a compact status or release label with coordinated glass, outline, glow, and animated treatments.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and Framer Motion.
  • You need optional mount animation that respects the user's reduced-motion preference.

Skip it if

  • You need accessible color contrast without revisiting the supplied theme combinations.
  • You want a lightweight static badge and cannot justify adding a motion library for it.
  • You need a drop-in component for plain React without shadcn aliases, utilities, and theme tokens.

Install

Installation record for tripled-native-badge
Declared dependenciesframer-motion, react, 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 Tailwind and compatible theme tokens, configure the local cn helper and import alias, and install React, Framer Motion, class-variance-authority, Lucide React, clsx, and tailwind-merge. The source imports CVA and Lucide even though the registry metadata does not declare them. Replace the alias import if your project uses a different merge utility.

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.

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.