Measured entry

ruixen-product-card-hero

pricingunclassifiedmotion on file

An animated React product hero with an account-menu mockup, scrolling price tickers, configurable copy and CTA, and a feature grid. It ships as a shadcn registry component and uses Motion, Lucide icons, Tailwind utilities, theme color tokens, and the shared cn helper.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-product-card-hero at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-product-card-hero at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-product-card-hero 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 ruixen-product-card-hero
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal70.0 KB (135.4 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 34.13s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/product-card-hero.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A polished, adaptable landing-page composition that behaves responsively, but it needs a shadcn-style setup and is not ready to ship unchanged because its muted text fails contrast checks. Best for teams willing to retune colors and accept the animation cost.

Use it if

  • You need a product or developer-tool landing hero with a restrained account-menu visual.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and client-rendered Motion animations.
  • You want configurable headline, CTA, and feature copy without changing the composition.

Skip it if

  • You need a functional pricing card, plan comparison, or checkout interaction.
  • Your accessibility bar requires the supplied muted text colors to pass contrast checks without revision.
  • You want to avoid adding a relatively costly animation dependency for a mostly decorative effect.
  • Your design system does not use Tailwind or shadcn-style aliases and utilities.

Install

Installation record for ruixen-product-card-hero
Declared dependenciesmotion
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 Motion and Lucide React, provide a cn class-merging helper, configure the @ alias, enable the referenced Tailwind utilities, and define the foreground, muted, card, and background theme tokens. Keep the component on the 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.

Alternatives

Other published entries for the pricing pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.