Measured entry

tripled-stats-section-shadcnui

statsminimal-flatmotion on file

An animated marketing stats section delivered as a shadcn registry page. It renders a responsive card grid with viewport-triggered motion and reduced-motion handling, and relies on React, Framer Motion, Lucide icons, Tailwind theme utilities, and the shadcn Card primitive.

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

Verdict

A polished starting point for an existing shadcn stack, with sensible responsive behavior and reduced-motion support. It needs a shadcn-style setup to mount, its contrast requires correction, and its motion library is a substantial tradeoff for a simple stats section.

Use it if

  • You need a ready-made proof-points section with icon-led metric cards.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and Framer Motion.
  • You want entrance animation that respects the visitor's reduced-motion preference.

Skip it if

  • You need a dependency-light static stats block and do not otherwise use Framer Motion.
  • Your design system does not expose shadcn-style Card and theme-token utilities.
  • You cannot review and adjust the supplied foreground color combinations for accessible contrast.
  • Your metrics must come from props or live data without refactoring the hard-coded content.

Install

Installation record for tripled-stats-section-shadcnui
Declared dependenciesframer-motion, react
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 the Card primitive and its class-name utility under the expected aliases, configure Tailwind with shadcn theme tokens, and install React, Framer Motion, and Lucide React. Then replace the hard-coded copy and correct the low-contrast text styles.

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