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.

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

Installation record for magicui-pulsating-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 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.

License
MIT
Record published
2026-08-17

Alternatives

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.