Measured entry

ruixen-staged-pricing

pricingunclassifiedmotion on file

A client-side pricing section with plan cards, a monthly or annual switch, animated price changes, feature lists, highlighted plans, and decorative grid framing. It ships as a shadcn registry component for Next.js and depends on React, Next Link, Tailwind theme utilities, a shadcn Button, the cn helper, and Lucide icons.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-staged-pricing at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-staged-pricing at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-staged-pricing 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-staged-pricing
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious1
Axe moderate0
Axe minor0
Gzip marginal53.4 KB (118.9 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1m 24s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ruixen/staged-pricing.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A polished, flexible pricing section for an existing Next.js and shadcn codebase, with a useful billing interaction and solid responsive behavior. It needs a shadcn-style setup to build and mount, and the detected text contrast issue should be fixed before release.

Use it if

  • You need a complete tiered pricing section with configurable plans, billing labels, savings badges, and CTA links.
  • Your app already uses Next.js, Tailwind theme tokens, path aliases, and shadcn-style primitives.
  • You want pricing cards that stack cleanly on smaller screens and present a selected plan prominently.

Skip it if

  • Your project is not prepared to supply shadcn-style utilities and a compatible Button component.
  • You require an accessibility-clean component without first correcting the detected text contrast issue.
  • You need arbitrary plan counts, since the desktop column mapping is explicitly tailored to a small fixed set and otherwise falls back to its default layout.
  • You need framework-neutral links without adapting the Next.js Link usage.

Install

Installation record for ruixen-staged-pricing
Declared dependencieslucide-react, radix-ui, clsx, tailwind-merge
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 a compatible Button with as-child behavior, a cn utility backed by clsx and tailwind-merge, Lucide React, Tailwind theme tokens for the referenced semantic colors, and matching path aliases. Provide Next.js Link or replace it with your router link or an anchor. Ensure the file runs as a client component.

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.