O3 Widget

Customize the O3 Swap Widget preset and integrate it into your website without any additional coding work, and allow your users to swap tokens across chains without leaving your dApp!

See what you can customize below:

  • Choose between a horizontal or vertical view that best fits your website UI.

  • Select the language for the widget. Currently, English and Chinese are supported.

  • Pick a theme color that matches your project's branding style. You can customize any color or choose from a default set.

  • Set the default option for the widget. You can paste the chain ID and token address to specify the default source chain, source token, destination chain, and destination token.

Once all the Presets are configured, simply copy the code by clicking the button in the upper-right corner. The widget can be integrated with ease, and you can also customize the settings directly in the code.

Last updated