Measured entry
tripled-native-badge-carbon
badgeglassmorphismmotion on file
A client-side React badge distributed as a shadcn registry component, with default, neutral, outline, glass, glow, and animated styles. It uses Tailwind theme tokens and a local cn helper, plus class-variance-authority, Framer Motion, and Lucide React for variants, motion, and the default icon.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 72.0 KB (137.5 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 823ms error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-551e4d207a3d/src/cut/components/uitripled/native-badge-carbon.tsx".
Verdict
A flexible, polished badge set for an existing shadcn codebase, especially when the animated treatment is useful. It needs a shadcn-style setup to mount, carries a high dependency cost for its scope, and should not ship until its contrast issues are corrected.
Use it if
- You need one badge API that covers restrained status labels and more decorative launch or beta labels.
- Your interface already uses shadcn conventions, Tailwind theme tokens, Framer Motion, and Lucide icons.
- You want mount motion that respects the user's reduced-motion preference.
Skip it if
- A small dependency footprint matters, since the motion stack adds substantial weight for a badge.
- You need accessible colors without further design work, because the tested variants include contrast failures.
- Your project does not use Tailwind or shadcn-style theme utilities and you do not want to recreate that styling layer.
- The label must use native badge semantics rather than a styled div.
Install
| Declared dependencies | framer-motion, react, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add Tailwind with compatible color and ring tokens, provide the cn utility, and install class-variance-authority, Framer Motion, Lucide React, clsx, and tailwind-merge. Keep it in a client-rendered React boundary and adjust the import alias or replace it with a local path.
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
github.com/moumen-soliman/uitripledAlternatives
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.
- neu-badgeneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- clay-badgeclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- ruixen-load-rippleunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- kibo-listminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 42.4KB
- Bare
- pass
- Prov
- NO
- ruixen-blurred-stagger-textunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 58.1KB
- Bare
- pass
- Prov
- NO
- tripled-auto-revealing-heading-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.3KB
- Bare
- pass
- Prov
- NO