Measured entry

efferd-pricing-4

pricingminimal-flatmotion on file

A client-rendered React pricing section with fixed monthly and yearly cards, discount badges, calls to action, and scroll-triggered entrance motion. It ships as a shadcn registry block and relies on Motion, Lucide icons, shadcn Button and Badge primitives, Tailwind utilities, and theme tokens.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of efferd-pricing-4 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of efferd-pricing-4 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of efferd-pricing-4 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 efferd-pricing-4
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal73.8 KB (139.2 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 49s
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 focused, credible choice for a simple monthly-versus-yearly offer, with clean tested rendering and responsive behavior. It is not drop-in for a bare React app: it needs a shadcn-style setup, and its hardcoded content and placeholder links require product-specific wiring.

Use it if

  • You need a compact comparison between monthly and annual billing for one product.
  • Your app already uses shadcn conventions, Tailwind theme tokens, and client-rendered Motion effects.
  • You are comfortable replacing static prices, copy, and placeholder links in the component source.

Skip it if

  • You need several tiers, a feature matrix, usage-based pricing, or an interactive billing switch.
  • You want pricing content driven by a CMS or product catalog without first refactoring the hardcoded markup.
  • You are avoiding animation dependencies or client-side rendering for a mostly static pricing section.
  • Your project does not use Tailwind or shadcn conventions and you do not want to recreate their supporting layer.

Install

Installation record for efferd-pricing-4
Declared dependenciesmotion, 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 the expected path alias and class-name utility, install Motion, Lucide, and the Radix support used by the UI primitives, then supply compatible Button and Badge components. Configure Tailwind and the referenced theme tokens, enable client rendering, and replace the placeholder anchors with real destinations.

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.