Measured entry

tripled-ecommerce-highlight-card-shadcnui

selectminimal-flatmotion on file

A client-side product spotlight card with animated bundle selection, pricing, fulfillment details, ratings, and an add-to-bag action. It ships as a shadcn registry component and composes local Badge, Button, Card, and Separator primitives, with React state, Framer Motion, Lucide icons, Tailwind theme classes, and Radix-backed project conventions.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-ecommerce-highlight-card-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-ecommerce-highlight-card-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-ecommerce-highlight-card-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-ecommerce-highlight-card-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal77.3 KB (142.7 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 2m 23s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/badge.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A credible fit for a shadcn storefront: it builds, mounts, adapts across the tested layouts, and produced no automated accessibility findings. The tradeoff is substantial motion-library overhead and hard-coded commerce content. It needs a shadcn-style setup and will not mount in a bare React project as shipped.

Use it if

  • You need a self-contained product highlight with selectable bundles and fulfillment messaging.
  • Your app already uses shadcn primitives, Tailwind theme tokens, and the standard source alias.
  • You want motion that respects the visitor's reduced-motion preference.

Skip it if

  • You need a native select control or a reusable form field rather than a product card.
  • Your catalog data must be supplied through props because the product and bundle content is embedded in the component.
  • You want to avoid adding Framer Motion for a single merchandising card.
  • Your project does not use Tailwind or shadcn conventions and you do not want to recreate their primitives and theme tokens.

Install

Installation record for tripled-ecommerce-highlight-card-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 React, Framer Motion, Lucide icons, and the required Radix support; create compatible Badge, Button, Card, and Separator components; configure the source alias and class-merging utility; and provide the Tailwind theme tokens used by the registry source. Move the embedded product and bundle copy into props before production use.

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 select pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.