What Can Be Customized?
You can customize the SDK at three different levels:- Component UI (Inputs & Icons)
- Iframe & Layout
- Popup / Payment Status UI
1. Input Styling (Component Styles)
Each payment component supports custom styles that control the look and feel of the input field. Example- Font family
- Text color
- Border & radius
- Padding & height
- Hover & focus states
- Placeholder styles
2. Iframe Layout Customization
Each component iframe can be styled independently usingframeStyle.
Example
- Match your form layout
- Adjust spacing between fields
- Fit responsive containers
- Maintain consistent heights across inputs
3. Font Customization
You can load and use custom fonts across all SDK components. Example4. Icon Customization
Payment components like Card Number and UPI support icon configuration. Example- Show or hide icons
- Control icon size
- Maintain brand consistency
5. Popup Customization (Payment Flow)
The SDK popup (used during UPI or redirect flows) is fully customizable using popupConfig. Example6. Popup Frame Styling
- Control popup size
- Adjust layering (z-index)
- Match your brand modal design
7. Component-Level Customization
Each component can be customized independently. Card Example8. UPI Intent (App-Based Payments)
UPI Intent allows users to complete payments directly through installed UPI applications such as PhonePe, Google Pay, Paytm, etc. Instead of entering a UPI ID, the user selects an app and the SDK triggers the UPI intent flow. ExampleUPI Intent payments only work on mobile devices.
This flow will not work on desktop browsers because desktop devices cannot trigger mobile UPI apps.
9. Terms & Conditions Component
- Text styling
- Link colors
- Button labels
Summary
- TB Drop-in SDK provides deep UI customization
- Works consistently across Card, UPI, and future methods
- Customization does not compromise security
- Same integration works across environments