Measured entry
magicui-pulsating-button
buttondark-futuristicmotion on file
A React client button with pulse and ripple variants driven by CSS custom properties and registry-supplied keyframes. It ships as a shadcn registry component, uses Tailwind theme classes and an aliased cn helper, and relies on clsx plus tailwind-merge through that helper.



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 | 30.0 KB (95.5 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 989ms error during build: [vite:load-fallback] Could not load <sandbox>re-598cbde7d2c3/src/lib/utils (imported by src/cut/pulsating-button.tsx): ENOENT: no such file or directory, open '<sandbox>re-598cbde7d2c3/src/lib/utils'
Verdict
A focused attention cue that builds and mounts cleanly in its intended environment and exposes useful styling controls. It needs a shadcn-style setup, since the bare project cannot resolve its aliased cn utility. Best used sparingly for a primary action.
Use it if
- You need a prominent call to action whose pulse color, pace, and spread can be tuned.
- Your React and Tailwind app already follows shadcn aliases, theme tokens, and registry CSS conventions.
- You want native button props and ref forwarding without adding an animation library.
Skip it if
- Your interface should avoid continuously moving calls to action or does not yet provide a reduced-motion policy.
- You need a drop-in component for plain React without Tailwind theme wiring and path aliases.
- Your browser support cannot rely on modern relative color syntax used by the default pulse color.
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 React client-component support, Tailwind, the semantic primary color utilities, the registry keyframes and animation utilities, and an alias-backed cn helper using clsx and tailwind-merge. Alternatively, replace the alias import and class composition with local equivalents.
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/magicuidesign/magicuiAlternatives
Other published entries for the button pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- neu-buttonneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.8KB
- Bare
- pass
- Prov
- NO
- clay-buttonclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- tripled-animated-radio-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 58.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glow-link-buttonliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 58.9KB
- Bare
- pass
- Prov
- NO
- tripled-mood-gradient-button-shadcnuigradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 59.2KB
- Bare
- pass
- Prov
- NO
- ruixen-glass-ai-cardliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 59.5KB
- Bare
- pass
- Prov
- NO