SiteEmbed

Embeds another thirdweb-supported site for seamless in-app and ecosystem wallet connection.

Example

import { SiteEmbed } from "thirdweb/react";
<SiteEmbed
src="https://thirdweb.com"
client={thirdwebClient}
ecosystem={{ id: "ecosystem.thirdweb" }}
/>;
function SiteEmbed(
props: {
client: ThirdwebClient;
ecosystem?: Ecosystem;
src: string;
} & ClassAttributes<HTMLIFrameElement> &
IframeHTMLAttributes<HTMLIFrameElement>,
): Element;

Parameters

The props to pass to the iframe

Type

let props: {
client: ThirdwebClient;
ecosystem?: Ecosystem;
src: string;
} & ClassAttributes<HTMLIFrameElement> &
IframeHTMLAttributes<HTMLIFrameElement>;

Returns

let returnType: Element;