Measured entry
kibo-credit-card
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.



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 | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 266.9 KB (332.4 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written 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
| Declared dependencies | react-svg-credit-card-payment-icons, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no 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.
Author repository
github.com/shadcnblocks/kiboAlternatives
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.
- hextaui-kbdminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 29.8KB
- Bare
- pass
- Prov
- NO
- shadcn-labelunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 31.1KB
- Bare
- pass
- Prov
- NO
- neobrutalism-labelbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 31.5KB
- Bare
- pass
- Prov
- NO
- neobrutalism-nlabelbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 31.5KB
- Bare
- pass
- Prov
- NO
- shadcn-formunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 43.9KB
- Bare
- pass
- Prov
- NO
- neobrutalism-formbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 44.4KB
- Bare
- pass
- Prov
- NO