Measured entry

hextaui-billing-plan-selector

pricingminimal-flat

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.

Specimen
Harness screenshot of hextaui-billing-plan-selector at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-billing-plan-selector at 768 pixels wide
Harness screenshot at 768 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-billing-plan-selector 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 hextaui-billing-plan-selector
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375, 768
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal37.9 KB (103.4 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten 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

Installation record for hextaui-billing-plan-selector
Declared dependencies@radix-ui/react-slot, @radix-ui/react-switch, clsx, tailwind-merge
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-17

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.