SDK Customizations
The Yuno Web SDK allows you to customize various elements, making it easy to align the design of payment forms and the checkout flow with your brand guidelines and UX/UI. Although the structure of each element remains uniform, you can adjust colors, text, buttons, and much more.
General guidelines
- Styles within an iframe: Define the new styles when initializing the SDK. Each form input that receives card information is rendered within an iframe when using the Form Card Modal.
- Styles outside an iframe: Inject the styles directly into the page.
- Check element structure: Use the browser's developer mode to inspect where the element is rendered.
Input design types
You can customize how labels and placeholders are displayed in input fields by configuring the input design type. This property controls the visual presentation of form labels and placeholders across different SDK implementations.
For detailed configuration options, design type descriptions, and CSS class information, see the Default Design page.
Default and Deprecated Design
Use the Default Design information when customizing the Yuno Web SDK. This approach is recommended for all new customizations and ensures you use the most up-to-date styles and practices.
The Deprecated Design is available for Yuno clients needing access to CSS class information. However, this option will be removed in the future.
Customizable elements
The following sections detail the elements that make up the Card and APM forms, along with the respective classes for each one, which can be modified to achieve a personalized style.
Choose the design system you want to customize:
Address autocomplete
Merchants can enable or disable address autocomplete functionality in the Web SDK. When enabled, the SDK automatically fills address fields based on postal code lookup. When disabled, users must manually enter all address information.
Stay Updated
Visit the changelog for the latest SDK updates and version history.
Updated 5 days ago