Overview
Swap widgets are embeddable UI components that abstract the complexity of interacting with decentralized exchanges (DEXs) and liquidity aggregators. They provide:- Seamless UX: Users can swap tokens without leaving your app
- Reduced Friction: No need to redirect users to external DEX interfaces
- Revenue Opportunities: Many providers offer fee-sharing mechanisms
- Cross-Chain Support: Some widgets enable bridging assets from other chains
Symphony Swap Widget
Symphony is a native DEX aggregator on Sei, offering the simplest integration via iframe embedding.Quick Start
Live Demo
Size Requirements
- Minimum Width:
377px - Minimum Height:
650px(recommended to prevent wallet modal scrolling) - Optimal Height:
680-685px
URL Parameters
Customize the widget by appending query parameters:Token Selection
Tokens can be changed by the user after the widget loads.
Appearance
Features
Complete Example
- HTML
- React
- Next.js