Widget
Widget Overview
OpenOcean Swap Widget enables you to integrate a DEX aggregator swap and bridge experience into your dApp in under 5 minutes. Powered by OpenOcean's cross-chain liquidity aggregation, your users can swap any token at the best available rates across 40+ chains without leaving your product.
Common use cases include adding a platform fee to generate revenue from swaps, converting tokens for NFT purchases or other in-app actions, enabling token swaps for liquidity provision and yield farming, and letting community members acquire tokens for DAO participation or other web3 activities.
What you can do with the widget
- Add same-chain and cross-chain swaps with a single component.
- Support multiple wallets and chains without rebuilding routing logic.
- Customize layout, theme, and behaviour to fit your UX.
Next steps
- Install Widget – Quick start for iframe and NPM package integration.
- Widget Variants – Choose the best variant for your use case.
- Configuration – Learn about all configurable options.