Measured entry

tripled-glass-order-summary-shadcnui

buttonglassmorphismmotion on file

A client-side React order-summary card shipped as a shadcn registry component. It renders product rows, supplied totals, a glass-styled card, and an animated pay button. It relies on shadcn Button, Card, and Separator primitives, the project cn helper, Tailwind theme classes, Framer Motion, and Lucide icons.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-glass-order-summary-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-glass-order-summary-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-glass-order-summary-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-glass-order-summary-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal71.1 KB (136.5 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 1m 8s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/@uitripled/react-shadcn/src/components/components/cards/shadcnui/glass-order-summary.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A solid presentational starting point for an existing shadcn app, with clean responsive mounting and no reported accessibility violations. It needs a shadcn-style setup because the bare project cannot resolve the expected cn utility alias. Plan to wire the pay action and own all pricing logic.

Use it if

  • You need a compact checkout summary whose items and totals are already calculated by your application.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and path aliases.
  • You want a lightly animated card that can accept custom product rows and outer styling.

Skip it if

  • You need the component to calculate totals, format localized currencies, or validate checkout data.
  • You need a working payment action, loading state, disabled state, or callback without extending the component.
  • You want a dependency-light order summary without Framer Motion and shadcn primitives.
  • Your design system does not expose compatible Tailwind color tokens and utility classes.

Install

Installation record for tripled-glass-order-summary-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 compatible Button, Card, and Separator components; provide a cn class-merging helper through the expected path alias; configure the referenced Tailwind theme tokens; and install React, Framer Motion, Lucide React, and the primitive dependencies used by your replacements.

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.