Mark Yo

Multi-Chain Swap

Component

About

A crypto swap card for exchanging tokens across blockchain networks, with a token and network picker, a reverse/flip button, a live rate quote with fee and slippage, and an optional destination address field.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Multi-Chain Swap to your project and fits it to your theme.

Code

How Multi-Chain Swap is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import MultiChainSwap from "@/components/ui/swap";

export default function SwapDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-6">
      <MultiChainSwap />
    </div>
  );
}

Dependencies

More by Mark Yo

View all
  • Loader

    Loader

    72
  • Pricing Table

    Pricing Table

    33
  • Bento Grid

    Bento Grid

    22
  • Approval Queue

    Approval Queue

    20
  • Expandable Tabs

    Expandable Tabs

    19
  • Image Gallery

    Image Gallery

    17
  • Wallet Card

    Wallet Card

    15
  • Feature Section

    Feature Section

    12