Widget Quickstart
Add a swap UI to your app in 2 minutes. The<argyros-swap> Web Component works in any framework or plain HTML.
Install
HTML / CDN
React
global.d.ts:
Vue
Next.js
Web Components require client-side rendering. Use dynamic import:Next Steps
- Attributes — all configurable HTML attributes
- Events — listen for quotes, swaps, and errors
- Wallet Integration — connect your wallet adapter
- Theming — customize colors, radius, fonts
- Examples — full integration examples per framework