Measured entry
hextaui-billing-pricing-table
A client-side React and TypeScript pricing comparison that switches between plan cards and a feature table. It ships as a shadcn registry item and expects Tailwind theme classes, a local cn helper, Badge, Button, Card, Switch, and Tooltip primitives, plus React and lucide-react.



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 | flagged at 375, 768 |
| Axe critical | 1 |
| Axe serious | 1 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 54.9 KB (120.4 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 1.03s error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-12482f51907e/src/cut/blocks/billing/billing-pricing-table.tsx".
Verdict
A solid starting point for data-driven pricing, with useful billing state and selection hooks. It needs a shadcn-style setup, does not work bare, and should not ship until the control label, contrast, and narrower-layout overflow are corrected.
Use it if
- You need monthly and annual plan comparisons with per-plan feature values and async selection callbacks.
- Your app already uses shadcn-style aliases, Tailwind theme tokens, and matching UI primitives.
- You can fix the unnamed billing toggle and low-contrast styling before release.
Skip it if
- You need a drop-in component for a plain React project without registry scaffolding.
- The tested composition must fit narrow and mid-sized layouts without overflow or layout changes.
- You require an accessibility-clean component without remediation; the tested version has an unnamed button and contrast failures.
Install
| Declared dependencies | @radix-ui/react-slot, @radix-ui/react-switch, @radix-ui/react-tooltip, 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 Tailwind with compatible theme tokens, configure the source alias and cn helper, and copy or replace the Badge, Button, Card, Switch, and Tooltip primitives. Install React, lucide-react, Radix Slot, Switch, and Tooltip, plus clsx and tailwind-merge.
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/preetsuthar17/HextaUIAlternatives
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