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.

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

Installation record for clay-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 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-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.