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.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 53.4 KB (118.9 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | lucide-react, radix-ui, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no 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.
Author repository
github.com/ruixenui/ruixen.comAlternatives
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.
- hyperui-pricing-1unclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 3.8KB
- Bare
- pass
- Prov
- NO
- hyperui-pricing-2editorial
- Renders
- YES
- A11y
- 0
- Gzip
- 18.2KB
- Bare
- pass
- Prov
- NO
- meraki-pricing-side-by-sideminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 18.8KB
- Bare
- pass
- Prov
- NO
- efferd-pricing-2glassmorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 29.8KB
- Bare
- pass
- Prov
- NO
- ruixen-pricing-plansunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 60.6KB
- Bare
- pass
- Prov
- NO
- tripled-glassmorphism-pricing-block-shadcnuiglassmorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 30.4KB
- Bare
- fail
- Prov
- NO