Measured entry
cultui-cosmic-button
hover-effectgradient-glowmotion on file
A client-side React button or anchor with layered conic gradients that rotate around the control and expand on hover. It ships as copied TypeScript source from a shadcn registry, styled with Tailwind utilities, and depends on a project-local cn helper plus custom cosmic spin animation classes.



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 | 27.5 KB (92.9 KB build, 65.4 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 37.90s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/cosmic-button.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A sound accent control for a focused call to action, with clean configured build, mount, responsive, and accessibility results. It is not standalone: it needs a shadcn-style setup, and teams should add motion preferences and always pass deliberate link or button props.
Use it if
- You need a prominent call to action on a dark promotional or launch surface.
- Your app already uses Tailwind and has a shadcn-compatible cn utility.
- You want one component that can render as either a link or a button.
Skip it if
- Your design system avoids continuously moving decoration or needs reduced-motion behavior built in.
- You need a drop-in component for a project without Tailwind or shadcn conventions.
- You cannot guarantee an explicit href, because the anchor variant otherwise points to the author's external site.
- You need a form-safe button with an explicit default type already enforced.
Install
| Declared dependencies | none declared |
|---|---|
| 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 Tailwind with the color and dark-mode tokens used by the classes, provide a cn class-merging helper at the expected alias or change the import, and define both cosmic spin keyframes and their animation utilities in global CSS. Ensure the file is treated as a client component.
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