Measured entry
tripled-native-button-shadcnui
buttonglassmorphismmotion on file
A shadcn registry component that wraps the local Button primitive with loading, glow, hover, and pressed states. It ships as a TSX file and expects React, Tailwind utility classes, the shadcn Button and cn aliases, and lucide-react for its spinner. The registry also declares framer-motion, although the component itself uses CSS animation classes.



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 | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 29.9 KB (95.3 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 46.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-button-shadcnui.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A useful enhancement for an existing shadcn button system, especially for loading and glow states, but not ready as an accessible copy-and-run example. It needs a shadcn-style setup, and every use must provide discernible text or an accessible label.
Use it if
- You already use shadcn/ui and want a consistent loading state that disables repeat clicks.
- You want optional glow and restrained hover or pressed feedback while retaining the base Button variants.
- You can guarantee every instance receives visible text or another accessible name.
Skip it if
- You need an accessible drop-in demo, because the supplied invocation renders an unnamed button and triggers a critical accessibility violation.
- Your project does not use shadcn-style path aliases, Tailwind utilities, and theme tokens, and you do not want to recreate that foundation.
- You want a dependency-light native button without a base Button abstraction or icon package.
- You need a ref-forwarding wrapper for direct button element access.
Install
| Declared dependencies | framer-motion, react, radix-ui |
|---|---|
| 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 a compatible Button primitive and ButtonProps, configure the at-sign path aliases, provide the cn class-merging helper, Tailwind utilities and theme tokens, and install lucide-react. Also install the registry-declared React and framer-motion dependencies, or remove the unused framer-motion declaration before integrating.
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