Measured entry

ruixen-pricing-comparison

pricingunclassified

A client-side React pricing section that ships as a shadcn registry item. It renders plan cards and a categorized feature matrix from replaceable plan and category data. It depends on Tailwind utility classes, shadcn-style Badge and Button components, shared theme tokens, lucide-react icons, and the registry's Radix-based UI stack.

Specimen
Harness screenshot of ruixen-pricing-comparison at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of ruixen-pricing-comparison at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-pricing-comparison 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-pricing-comparison
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal31.3 KB (96.7 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 36.92s
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 credible starting point for content-heavy pricing pages, with clean mounting and an automated accessibility pass. It needs a shadcn-style setup, and teams should budget for a responsive table treatment plus real call-to-action behavior before shipping.

Use it if

  • You need a detailed feature-by-feature plan comparison rather than a compact pricing card row.
  • Your app already follows Tailwind and shadcn component conventions.
  • You can wire the call-to-action buttons and adapt the grid for your purchase flow.

Skip it if

  • You need a phone-ready comparison table without layout work, since the supplied grid overflows on a narrow viewport.
  • You need checkout or contact actions to work immediately, since the buttons have no links or handlers.
  • You want a portable, low-dependency component with no shared theme or UI primitives.

Install

Installation record for ruixen-pricing-comparison
Declared dependencieslucide-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

In a non-shadcn project, add Tailwind styling and the expected theme tokens, configure the at-sign source alias, provide the shared class-name utility, install lucide-react and Radix UI, and add compatible Badge and Button primitives. Then connect the buttons and revise the narrow-screen grid behavior.

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.