Measured entry

ruixen-pricing-with-user-scaling

pricingunclassifiedmotion on file

A client-side React pricing table that recalculates plan totals by billing period and user count, with an animated billing label. It ships as a shadcn registry item and uses Tailwind classes, shadcn UI primitives, Motion, Lucide icons, clsx, and Radix-backed dependencies.

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

Verdict

A useful starting point for seat-based SaaS pricing, with working interactions and a solid mobile stack. It needs a shadcn-style setup, its tablet presentation deserves refinement, and the unnamed icon controls must be fixed before production.

Use it if

  • You need a ready-made pricing section with monthly and annual switching plus per-user scaling.
  • Your app already follows shadcn conventions and can supply its utility alias, theme tokens, and UI primitives.
  • You are prepared to replace the sample plans and connect the call-to-action buttons to your checkout flow.

Skip it if

  • You need an accessible component without modification, because the user decrement and increment buttons have no discernible names.
  • You want a light dependency footprint and do not otherwise use Motion, Lucide, Radix, or shadcn primitives.
  • You need comfortable card copy at tablet widths without revising the grid breakpoints and typography.

Install

Installation record for ruixen-pricing-with-user-scaling
Declared dependenciesmotion, lucide-react, clsx, 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, configure the at-sign source alias, add the shared class-name utility expected by the Button primitive, provide compatible Button, Card, and Slider components, and define the Tailwind theme tokens used by the styles. Install Motion, Lucide React, clsx, and the required Radix packages.

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.