#bastianlnuk-elements
1 messages · Page 1 of 1 (latest)
Oh smart idea!
hi! are you using the CardNumberElement / CardExpiryElement here?
so you could pass https://stripe.com/docs/js/elements_object/create_element?type=cardNumber#elements_create-options-showIcon and that shows card brand icons like in the PaymentElement
not sure what specifically else you would like to have align here
hmmm thanks 🤔
can try to help if you have more details! What specifically about 'the look' is that you're looking for? Your other screenshot is from the PaymentElement so is its own thing, using the separate Elements are different components and a lot more customisable but you can make things look more or less the same.
My biggest issue is that there's a huge padding underneath the text