Card-number input with brand detection, formatting, and CVC plus expiry sub-fields.
CreditCardInput is the composite card-entry control: card number, expiry, and CVC fields wired together with the brand-logo flip animation, formatting (e.g. 4–4–4–4 grouping for Visa, 4–6–5 for Amex), and Luhn-check validation.
The component is purely client-side — it never holds card data beyond the React state — so PCI scope stays narrow. Pair with a tokenization callback to hand the captured value directly to your payment processor.
Skip the manual import — ask your AI agent to build with this component. The Builder skill knows its props, variants, and idioms.