Measured entry

ruixen-pricing-cards-tooltip

pricingunclassifiedmotion on file

A client-side React pricing comparison that renders responsive tier cards, feature lists, calls to action, and optional corner marks, with explanatory tooltips on feature rows. It ships as a shadcn registry component and expects Tailwind-style utilities, the local cn helper, Lucide icons, and the shadcn tooltip primitive backed by Radix.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of ruixen-pricing-cards-tooltip at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-pricing-cards-tooltip at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of ruixen-pricing-cards-tooltip 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-cards-tooltip
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal48.1 KB (113.5 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 40.97s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/pricing-cards-tooltip.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A practical, configurable pricing section for an existing shadcn codebase, and it rendered cleanly across the tested layouts. It is not ready to ship unchanged because every tooltip trigger needs an accessible name. It also needs a shadcn-style setup and does not mount in a bare React project.

Use it if

  • You need a compact side-by-side pricing section with configurable tiers and feature explanations.
  • Your app already uses shadcn conventions, theme tokens, and the local tooltip primitive.
  • You are prepared to wire the placeholder calls to action into real signup or checkout routes.

Skip it if

  • You need an accessible drop-in today, because the tooltip icon buttons lack discernible names and must be fixed first.
  • Your pricing model needs billing toggles, checkout state, or feature comparison logic rather than a presentational section.
  • Your project does not use Tailwind-style utility classes or shadcn path aliases and you do not want to adapt them.

Install

Installation record for ruixen-pricing-cards-tooltip
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 Lucide React and Radix tooltip support, provide Tooltip components and a cn class-merging helper, configure the local path aliases, and supply the Tailwind utilities and theme tokens used by the markup. Add accessible labels to the icon-only tooltip buttons before release.

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.