Skip to main content
The Ramp Widget supports theming so you can match its look and feel to your application’s brand. You control the primary color scheme, border radius, and logo by passing a theme object to the RampWidget constructor.

Applying a theme

Pass the theme property when initializing the widget:

Theme interface

The full TypeScript interface for the theme object is:

Theme properties

Example

For the logo, use a square image at 56px × 56px for the best appearance. Wider images are supported but may appear differently depending on the widget layout.
Last modified on April 30, 2026