A credit card input for shadcn/ui

shadcn/ui doesn't ship a credit card input, so most apps end up with three plain Inputs. Below is a free one built on shadcn's Input: it groups the digits as you type, shows the brand in a Badge and runs a Luhn check. If you want a card on screen that fills in and flips, Credit Card Checkout V1 is that form, and its CSS stays inside its own root, so your shadcn theme doesn't move.

Credit Card Checkout V1, preview

By buying you agree to the Terms.

Ready forCursorv0Lovableshadcn CLI

Full product pageReact · Tailwind · TypeScript