Swipelux
Client-side integration/Widget customization

Widget branding

Customize branding and signature elements of the onramp widget

Signature branding

Customize the bottom signature/branding area of the widget with your own text and logo. This allows you to display "Powered by [Your Brand]" messaging at the bottom of the widget interface.

Configuration options

  • text (required): The text to display in the signature area
  • logoUrl (optional): URL to your brand logo image

Example usage

const widget = new SwipeluxWidget({
  apiKey: "YOUR_PUBLISHABLE_API_KEY",
  signature: {
    text: "Powered by BestCompany",
    logoUrl: "https://example.com/my-logo.png"
  },
});

Text-only signature

If you don't have a logo or prefer text-only branding:

const widget = new SwipeluxWidget({
  apiKey: "YOUR_PUBLISHABLE_API_KEY",
  signature: {
    text: "Powered by BestCompany"
  },
});

Logo requirements

When providing a logo URL, consider the following:

  • Format: PNG, JPG, or SVG formats are supported
  • Size: Optimal logo size is 120x30 pixels or similar aspect ratio
  • Hosting: Logo must be hosted on a secure (HTTPS) URL
  • Loading: Ensure the logo URL is accessible and loads quickly

Signature types

export type Signature = {
  text: string;
  logoUrl?: string;
};

On this page