Measured entry

tripled-our-services-section-shadcnui

badgeminimal-flatmotion on file

An animated React services section with a heading, status badges, icon-led cards, and repeated calls to action. It ships as a shadcn registry block and a client component, relying on local Badge, Button, and Card primitives, 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-our-services-section-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-our-services-section-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-our-services-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-our-services-section-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal71.4 KB (136.8 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 52s
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 solid starting layout that builds, mounts, and stays contained across the tested widths. It needs a shadcn-style setup before it can run in a bare project, and the muted copy and badges need contrast adjustments before production use.

Use it if

  • You need a complete services grid that adapts cleanly from a single column to a wider card layout.
  • Your app already uses shadcn conventions and can reuse its theme tokens and UI primitives.
  • You want entrance and hover motion around otherwise straightforward service-card content.

Skip it if

  • You need a drop-in component for a plain React project with no shadcn or Tailwind foundation.
  • Your accessibility release gate requires the supplied color choices to pass contrast checks without remediation.
  • You want to avoid adding an animation library for a largely static marketing section.
  • You need service links that already navigate somewhere, since the included calls to action are buttons without destinations.

Install

Installation record for tripled-our-services-section-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

For a non-shadcn project, add Tailwind theme tokens, the Badge, Button, and Card primitives, an at-sign source alias, and the shared cn utility under lib/utils. Install Framer Motion and Lucide React, then adapt the local imports or replace the primitives with equivalents from your design system.

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