Measured entry

kibo-credit-card

formminimal-flat

A composable React client component for rendering a styled credit card with front, back, chip, brand, number, expiry, magnetic stripe, and security-code parts. It ships as registry source rather than a packaged widget, uses Tailwind utility classes and a local cn helper, and can draw payment-network marks through react-svg-credit-card-payment-icons.

Specimen
Harness screenshot of kibo-credit-card at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of kibo-credit-card at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of kibo-credit-card 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 kibo-credit-card
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal266.9 KB (332.4 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten from the component source API

Verdict

A solid presentation component for branded card previews, with flexible composition and no provider requirement. Adopt it for display, but pair it with dedicated form and payment tooling when users enter real card data.

Use it if

  • You need a read-only card preview beside payment or wallet fields.
  • You want separate primitives for custom card faces, labels, and branding.
  • You want hover flipping on pointer devices and tap flipping on touch devices.

Skip it if

  • You need card-number input, masking, validation, tokenization, or payment processing.
  • Your interface must avoid displaying sensitive card details or a visible security code.
  • Your styling stack cannot support the Tailwind perspective, container-query, and three-dimensional transform utilities used by the component.

Install

Installation record for kibo-credit-card
Declared dependenciesreact-svg-credit-card-payment-icons, clsx, tailwind-merge
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno provider required in the harness

In a non-shadcn project, add react-svg-credit-card-payment-icons, clsx, and tailwind-merge; provide the cn class-merging helper; configure Tailwind to scan the component source; and ensure the required container-query, perspective, backface, and rotation utilities are available.

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