Rendyn

Component library

189 components

Product blocks

Multi-chain Swap

Multi-chain Swap renders token and chain choices using supplied or demo catalogues.

Interactive exampleReact Tailwind CSS

Practical React example

Prototype a token-pair selection interface without suggesting that a trade has executed.

Before you copy and paste

Keep the example in the React rendering environment required by the imported component. Copy components/motion/swap.tsx and its returned support files from the Code tab; preserve the project-relative paths.

Listed package dependencies: clsx, lucide-react, motion, react, tailwind-merge.

Use the Code tab for the component files and installation instructions, then adapt the imports in this example to your project.

Prototype a token-pair selection interface without suggesting that a trade has executed

// Usage adapted from beUI's pinned MIT source.
// Copyright (c) 2026 Saurabh Chauhan. See ./LICENSES.md.
"use client";

import { MultiChainSwap } from "@/components/motion/swap";

export function SwapPreview() {
  return (
    <div className="flex w-full items-center justify-center">
      <MultiChainSwap />
    </div>
  );
}

Usage example adapted from beUI's pinned MIT source. Retain the source licence notices when copying.

Replace demo chain and token data with the supported assets in your application. Add a real quote, network validation and transaction workflow before offering a trade.

Customization

MultiChainSwapProps.chains
Optional; Chain[].
MultiChainSwapProps.tokens
Optional; Token[].
MultiChainSwapProps.defaultFromId
Optional; string.
MultiChainSwapProps.defaultToId
Optional; string.
MultiChainSwapProps.className
Optional; string.

Integration notes

  • This visual component does not connect a wallet, quote a live price or execute a swap.
  • Never treat displayed balances or an animation as confirmation of an on-chain transaction.

Component source: beUI documentation . These examples describe the version imported into Rendyn. Upstream APIs may have changed; retain the source licence notices when adapting the code.

Better with your agent

Give your agent taste.

The best way to use Rendyn is through MCP. Let your agent find the right component, compare previews and bring the source into your project.

All components are free. Sign up only to connect MCP.

Connect to MCP