A beautiful, responsive widget component that displays balance information with a progress ring. Perfect for embedding in your application.
The Balance Widget is a React/TypeScript component that displays:
| Parameter | Type | Description |
|---|---|---|
balanceAmount |
number | The balance amount to display |
progressPercentage |
number | Progress percentage (0-100) |
landingPageUrl |
string | URL to open on visit button click |
icon |
ReactNode | Icon or emoji to display (optional) |
To embed the Balance Widget in your HTML page:
Widget Parameters:
data-balance-widget - Enable the widget (required)data-widget-id - Widget configuration ID (required). Example:
6979a3be207da8f71c725bcc,
widget-2
data-player-token - Player authentication token (required). Used for eligibility checksNote: The widget will automatically position itself in the bottom-right corner of the page. Click on it to open the landing page in a fullscreen iframe.