Web-Components are the most convenient way to integrate functionalities in your application. Like any other UI elements in your application we provide simple ways to style these Web-Components so they become part of your application for a seamless user experience.
Below you will find examples in some popular frontend frameworks.
The library must be loaded before custom styling can be used in your application. To enable the library, please refer to our guide .
For a complete list of customizable style elements please refer to our guide section.
React
Step 1. Install the npm package
npm install payengine
Step 2. Create CSS module file for your component (MyComponent.module.css)
Important: CSS Modules are turned on for files ending with .module.css extension. This is required for styling to function properly.
Option 2 - CSS module file for your component (MyComponent.module.css)
Important: CSS Modules are turned on for files ending with .module.css extension. This is required for styling to function properly if you decide to use this option.