When using Stripe elements, is there a way to not use the card element, but still get the auto brand icon show up somewhere (preferably in the cardNumber input field)?
card
cardNumber
In 2020, you can use the showIcon option.
showIcon
const cardNumber = elements.create('cardNumber', { showIcon: true, placeholder: 'Card Number', });
2.1m questions
2.1m answers
60 comments
57.0k users