Measured entry
tripled-native-morphing-button-shadcnui
buttonminimal-flatmotion on file
A client-side React floating action button that morphs into an action menu, distributed as a shadcn registry component. It uses Framer Motion for layout and icon transitions, Lucide for defaults, Tailwind theme classes for styling, and the shadcn cn utility for class composition.



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.1 KB (135.5 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 1m 13s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/@uitripled/react-shadcn/src/components/native/native-morphing-button-shadcnui.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
The interaction is thoughtfully keyboard-aware, but Framer Motion is a sizable cost for one control. It needs a shadcn-style setup because the source imports the cn utility and relies on Tailwind theme tokens.
Use it if
- You need a compact floating launcher for a short list of related actions.
- Your interface benefits from keyboard navigation, focus return, Escape handling, and reduced-motion support.
- Your project already uses Tailwind theme tokens and Framer Motion.
Skip it if
- You need a conventional inline button rather than an absolutely or fixed-positioned action menu.
- You want to avoid adding a substantial animation dependency for a single control.
- Your action labels may repeat, since labels are used as React keys.
- Your design system cannot supply the expected shadcn color and focus-ring tokens.
Install
| Declared dependencies | framer-motion, react |
|---|---|
| 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 app, add Framer Motion and Lucide React, configure Tailwind with the referenced color, radius, ring, border, card, and muted tokens, provide an @ alias and cn class-merging helper, and keep the component client-side.
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