Measured entry
cultui-bg-animate-button
hover-effectgradient-glowmotion on file
A React and TypeScript call-to-action button distributed as a shadcn registry file. It creates a rotating or pulsing conic-gradient layer with Tailwind classes, supports Radix Slot composition, and relies on class-variance-authority plus a shadcn-style cn helper backed by clsx and tailwind-merge.



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 | 32.9 KB (98.4 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 612ms error during build: [vite]: Rollup failed to resolve import "@radix-ui/react-slot" from "<sandbox>re-407d89b28c84/src/cut/components/ui/bg-animate-button.tsx".
Verdict
A credible fit for prominent calls to action in an existing Tailwind component system, with clean harness behavior. It needs a shadcn-style setup and does not mount bare because its Radix Slot import and supporting conventions are not supplied automatically.
Use it if
- You need an animated gradient call-to-action that can be tuned through size, rounding, shadow, gradient, and animation props.
- Your app already uses Tailwind and shadcn conventions, including the cn utility and path alias.
- You need to render the styling through another element using the asChild composition pattern.
Skip it if
- Your project does not use Tailwind or you want a self-contained button with no utility-framework setup.
- You require built-in reduced-motion behavior for continuous decorative animation.
- You expect every exposed option to work, since variant and showBackground currently do not change the output.
Install
| Declared dependencies | 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 Radix Slot and class-variance-authority, provide a cn helper using clsx and tailwind-merge, configure the source path alias or replace that import, and ensure Tailwind scans the component and supports its arbitrary gradient and animation classes. Add a reduced-motion treatment if your accessibility policy requires one.
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 hover-effect pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- eldora-card-flip-hover3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-left-flip3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.5KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-down3d
- Renders
- YES
- A11y
- 0
- Gzip
- 17.6KB
- Bare
- pass
- Prov
- NO
- uilayouts-btn-hover-multiplegradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- magicui-cool-modespatial
- Renders
- YES
- A11y
- 0
- Gzip
- 21.8KB
- Bare
- pass
- Prov
- NO
- uilayouts-hovercard2gradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 24.0KB
- Bare
- pass
- Prov
- NO