Measured entry
clay-badge
badgeclaymorphismfirst party
A compact React status badge rendered as an inline span, with a decorative icon and three built-in color tones. It ships as a single JSX component with no package or provider dependencies, but its clay effect relies on Tailwind utilities, including arbitrary colors, borders, radii, and layered shadows.



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 | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 17.9 KB (83.3 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A dependable decorative badge for playful Tailwind interfaces. It builds and mounts on its own, stays free of runtime integrations, and exposes sensible small overrides. Adopt it when the clay styling fits the product, but treat it as a presentational label rather than a complete status or chip system.
Use it if
- You need a playful label for flavors, releases, categories, or lightweight status text.
- Your interface already uses Tailwind and can accommodate a soft claymorphism accent.
- You want simple content, icon, tone, and class overrides without adding a component library.
Skip it if
- Your product uses a restrained, flat, or enterprise visual system where the raised clay treatment would feel out of place.
- You need semantic status variants such as success, warning, and error with established design tokens.
- You need an interactive chip with dismissal, selection, keyboard behavior, or loading states.
Install
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
First-party component from the sir-originals set. In a non-shadcn project, add the component to a React codebase and ensure Tailwind scans its JSX and supports the arbitrary utility classes used for colors, radius, border, and shadows. Without Tailwind, recreate those utilities in ordinary CSS and keep the same class contract for overrides.
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-originalsAlternatives
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
- 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
- tripled-dynamic-tag-cloud-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 61.0KB
- Bare
- pass
- Prov
- NO