Measured entry
cultui-gradient-heading
text-effectgradient-glowmotion on file
A React heading wrapper distributed as a shadcn registry component. It renders an h3 by default, supports Radix Slot composition, and maps color, size, and weight variants to Tailwind classes through class-variance-authority and a local cn utility. Despite the queue label, its source defines a static gradient rather than motion.



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 | 31.8 KB (97.3 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 2.23s error during build: [vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-5bc227c3f2d1/src/cut/components/ui/gradient-heading.tsx".
Verdict
A tidy variant wrapper for Tailwind-based design systems, but it is more plumbing than effect and the animation label is misleading. The verified harness mounts cleanly, while a bare project does not: it needs a shadcn-style setup and an explicitly installed class-variance-authority dependency.
Use it if
- You want a reusable gradient treatment with preset heading sizes and weights.
- Your design system already uses Tailwind, a cn helper, and shadcn-style component conventions.
- You need to compose the styling onto another semantic heading through Radix Slot.
Skip it if
- You need an animated gradient or glow effect, because this source only applies static background gradients.
- You want a dependency-free heading and do not need its variant API.
- Your project does not use Tailwind and translating its utility classes would outweigh the value of the wrapper.
- You expect className to style the gradient span directly, since it is applied to the outer heading instead.
Install
| Declared dependencies | @radix-ui/react-slot, 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 |
For a non-shadcn project, add Radix Slot, class-variance-authority, clsx, and tailwind-merge; create the cn helper; configure Tailwind to scan the component; and replace or configure the local import alias.
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/nolly-studio/cult-uiAlternatives
Other published entries for the text-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- uilayouts-randomized-text-effectdark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-randomized-text-unveildark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.7KB
- Bare
- pass
- Prov
- NO
- fancy-scramble-indark-futuristic
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- magicui-aurora-textaurora-mesh
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- magicui-highlighterskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 24.8KB
- Bare
- pass
- Prov
- NO
- fancy-text-along-pathspatial
- Renders
- YES
- A11y
- 0
- Gzip
- 25.7KB
- Bare
- pass
- Prov
- NO