Measured entry

hextaui-billing-payment-method

cardminimal-flat

A client-side React card for listing payment methods, choosing a default, and routing add, edit, and delete actions through callbacks. It ships as a shadcn registry item and uses local shadcn card, button, badge, menu, and alert-dialog primitives, plus React state, Lucide icons, Radix, Tailwind classes, and class-name helpers.

Specimen
Harness screenshot of hextaui-billing-payment-method at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of hextaui-billing-payment-method at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-billing-payment-method 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-payment-method
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal66.0 KB (131.5 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 966ms
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-d3c6087a5938/src/cut/blocks/billing/billing-payment-method.tsx".

Verdict

A solid settings-page shell when the host app already handles payment logic, with clear actions and a sensible delete safeguard. It needs a shadcn-style setup to build and mount, and narrow mobile use needs layout repair before release.

Use it if

  • You need a ready-made billing settings panel for cards and bank accounts.
  • Your application already owns the payment APIs and only needs callback hooks for each action.
  • Your design system already follows shadcn conventions and Tailwind theme tokens.
  • You want deletion guarded by a confirmation dialog and support for an empty state.

Skip it if

  • The panel must fit narrow mobile layouts without additional responsive work.
  • You need real card-network logos rather than the same generic symbol for every card brand.
  • You need billing addresses displayed or edited because the component accepts that data but does not render it.
  • You want payment mutations, validation, or forms included instead of supplying all behavior through callbacks.

Install

Installation record for hextaui-billing-payment-method
Declared dependencies@radix-ui/react-alert-dialog, @radix-ui/react-slot, @radix-ui/react-dropdown-menu, 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

In a non-shadcn project, add the copied card, button, badge, dropdown-menu, and alert-dialog primitives; configure the expected import aliases, Tailwind theme tokens, and class-name utility; and install React, lucide-react, the required Radix packages, clsx, and tailwind-merge. Preserve client-component support in frameworks that distinguish server and client modules.

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 card pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.