Measured entry
magicui-shiny-button
buttongradient-glowmotion on file
A client-side React button shipped as a shadcn registry TSX file. It uses Motion for a looping shine and press response, Tailwind utility classes for appearance, a local cn class-merging helper, and the theme's primary CSS variable.



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 | 70.2 KB (135.7 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 2.00s error during build: [vite:load-fallback] Could not load <sandbox>re-c4f89b331c00/src/lib/utils (imported by src/cut/shiny-button.tsx): ENOENT: no such file or directory, open '<sandbox>re-c4f89b331c00/src/lib/utils'
Verdict
A focused accent button that builds, mounts, and stays contained in the configured harness. It needs a shadcn-style setup because the bare project cannot resolve its local utility import. Best used sparingly for a primary action.
Use it if
- You want an animated call-to-action that works across light and dark themes.
- Your app already uses Tailwind, shadcn conventions, and Motion.
- You need a real button element that accepts Motion and standard React props.
Skip it if
- You want a dependency-free button or cannot justify adding Motion for one control.
- Your design system does not use Tailwind utilities or shadcn path aliases.
- You require animation to honor reduced-motion preferences without modifying the component.
- A continuously moving highlight would distract from the surrounding interface.
Install
| Declared dependencies | motion, 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, install Motion, add a cn class-merging utility, configure the local import alias or replace it with a relative import, enable the Tailwind classes used here, and define the primary theme variable. Add a reduced-motion variant 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/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