Measured entry
tripled-scale-hover-button-shadcnui
buttonminimal-flatmotion on file
A client-side React button that grows on hover and contracts on press using Framer Motion spring gestures. It ships as a shadcn registry item with a centered wrapper, Tailwind utility classes, and theme color variables. The source exposes a fixed demo button rather than a reusable prop-driven API.



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 | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 60.8 KB (126.2 KB build, 65.4 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A tidy motion demo that builds and mounts cleanly even outside a shadcn scaffold, but it is starter code rather than a finished design-system control. Use it when Framer Motion is already justified, then fix the text contrast and turn the fixed markup into a real component API.
Use it if
- You want a small animated call-to-action and already use Framer Motion.
- You are comfortable adapting the fixed label, styles, and click behavior in the source.
- Your interface uses Tailwind utilities and compatible theme variables.
Skip it if
- You need an accessible default without first correcting the flagged text contrast.
- You do not want to add Framer Motion for a single button interaction.
- You need a ready-made button API with props, variants, event forwarding, or composition support.
Install
| Declared dependencies | framer-motion, react |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn React project, add Framer Motion, copy the client component, configure Tailwind for its utility classes, and define compatible accent and muted-foreground theme colors. Replace the fixed label and wire the button action for your use case.
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/moumen-soliman/uitripledAlternatives
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