Measured entry
hextaui-billing-plan-selector
A client-side React plan picker with monthly and annual pricing, feature lists, current and popular states, and selectable calls to action. It ships as a shadcn registry block and relies on Tailwind styling, local UI primitives, a class-name helper, Radix components, 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 | flagged at 375, 768 |
| Axe critical | 1 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 37.9 KB (103.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 791ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-ba83d5cb8b1b/src/cut/blocks/billing/billing-plan-selector.tsx".
Verdict
A practical starting point for a standard pricing page, but it needs accessibility and responsive-layout follow-up. It mounts in the full harness, while the bare project cannot build because lucide-react is imported without being declared; it needs a shadcn-style setup.
Use it if
- You need a conventional subscription comparison with billing-period switching and selectable plan cards.
- Your app already uses shadcn-style primitives and can control the billing period and selection callbacks in a parent.
- You want current, popular, disabled, loading, savings, and feature-limit states included in one block.
Skip it if
- You need a drop-in component for a plain React project without Tailwind, path aliases, or shadcn-style primitives.
- You cannot fix the billing switch's missing accessible name before release.
- Your pricing flow must be verified free of horizontal overflow at compact and mid-sized layouts.
- You need the component to own billing-period state rather than receiving controlled props from its parent.
Install
| Declared dependencies | @radix-ui/react-slot, @radix-ui/react-switch, 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 |
A non-shadcn app must add Tailwind and its theme tokens, the cn helper, Badge, Button, Card, and Switch primitives, matching source aliases, Radix Slot and Switch, clsx, tailwind-merge, and lucide-react. Control billing state in the parent and give the switch an accessible label.
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