Customize the appearance and behavior of React nekuda.js components
fontFamily
and fontSize
.base
, focus
, and error
states.modal
, cardItem
, and button
variants.<NekudaPaymentForm>
component accepts an elementsConfig
prop for customizing the appearance of form fields. Each field can have different styles for base, focus, and error states.
elementsConfig
:
Element Type | Description |
---|---|
cardNumber | Credit card number field |
cardExpiry | Card expiration date field |
cardCvv | Card security code field |
name | Cardholder name field |
email | Email address field |
billingAddress | Billing address field |
city | City field |
state | State/Province field |
zipCode | ZIP/Postal code field |
phoneNumber | Phone number field |
<NekudaPaymentForm>
component accepts a style
prop for customizing the form container appearance:
<NekudaCardManagement>
component uses the walletStyles
prop for theming:
NekudaCardManagement
props and examples, see the Card Management documentation.