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.

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

Installation record for cultui-bg-animate-button
Declared dependenciesclsx, 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

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.

Alternatives

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.