InputCard
can be used with InputExpire
and InputCVC
to input a card. Use tuiCreateLuhnValidator(message)
to create a Validator
that uses Luhn algorithm
form
tag is used for better autocomplete support
{ "card": "", "expire": "", "cvc": "" }
Pass empty string to disable icon
if you want to use custom content instead.