How to customize the ONRAMP widget
Overview
You can customize the ONRAMP widget appearance by adding optional parameters to the widget URL.
Customization parameters
| Parameter | Required | Description |
|---|---|---|
| color | No | Button color in HEX format without #. Default value is 256eff. |
| logo | No | Shows or hides the Calypso logo: true or false. If omitted, the logo is shown. |
| radius | No | Corner radius for widget UI elements. |
| theme | No | Widget color theme: light or dark. If omitted, the light theme is used. |
URL example
https://pay.calypso.money/onramp?account=0x0000000000000000000000000000000000000000&widgetKey=123e4567-e89b-12d3-a456-426614174002&idempotencyKey=123e4567-e89b-12d3-a456-426614174000&color=256eff&logo=true&radius=6&theme=light
Related docs
| Document | Link |
|---|---|
| Integrate ONRAMP widget | How to integrate the ONRAMP widget |
| Embed ONRAMP widget | How to embed the ONRAMP widget to your site |