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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of cultui-gradient-heading at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of cultui-gradient-heading at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of cultui-gradient-heading 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 cultui-gradient-heading
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal31.8 KB (97.3 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 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

Installation record for cultui-gradient-heading
Declared dependencies@radix-ui/react-slot, 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

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.

Alternatives

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.