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.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-native-button-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-button-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-native-button-shadcnui 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 tripled-native-button-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal29.9 KB (95.3 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for tripled-native-button-shadcnui
Declared dependenciesframer-motion, react, radix-ui
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 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.

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.