Skip to main content
GitHub

Card Input

Card number, expiry and CVC with brand detection and Luhn check.

@kineticui/ui
CARD
Encrypted end to end. Focus moves to the next field automatically.
Try 4242 4242 4242 4242 (valid) or 4242 4242 4242 4241 (fails Luhn).

Installation

Copies the source into your project so you can edit every line.

$ npx @kineticui/cli add card-input

Exports

CardInput

Source: packages/ui/src/components/card-input.tsx