Introducing SwapWidget: A Cross-Chain Token Swap Component

Introducing SwapWidget: A Cross-Chain Token Swap Component

We’re launching SwapWidget - a pre-built, customizable UI that lets you easily add a cross-chain token swap UI to your app in just a few lines of code.

Easily integrate into your app

import { SwapWidget } from "thirdweb/react";
import { createThirdwebClient } from "thirdweb";
 
// 1. Create a thirdweb client
const client = createThirdwebClient({
  clientId: "YOUR_CLIENT_ID",
});
 
// 2. Render widget in your app
function Example() {
  return <SwapWidget client={client} />;
}

Try it out