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

    66
  • Pricing Table

    Pricing Table

    24
  • Bento Grid

    Bento Grid

    8
  • Wallet Card

    Wallet Card

    4
  • Expandable Tabs

    Expandable Tabs

    4
  • Image Gallery

    Image Gallery

    3
  • CTA Section

    CTA Section

    3
  • Bar Chart

    Bar Chart

    1