Swap component handles cross-chain token exchanges. It supports exact-input (user specifies how much to spend) and exact-output (user specifies how much to receive) modes, and automatically routes across bridges and DEXs for the best price.
Basic usage
Exact input vs. exact output
Headless with useQuote
To build your own UI and manage quote refresh yourself:Props reference
For appearance and wallet options, see SDK configuration.