SiteLink

Creates a link to another thirdweb-supported site with wallet connection parameters.

Example

import { SiteLink } from "thirdweb/react";
<SiteLink
href="https://thirdweb.com"
client={thirdwebClient}
ecosystem={{ id: "ecosystem.thirdweb" }}
>
Visit Site
</SiteLink>;
function SiteLink(
props: {
children: ReactNode;
client: ThirdwebClient;
ecosystem?: Ecosystem;
href: string;
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href">,
): Element;

The props to pass to the anchor tag

Type

let props: {
children: ReactNode;
client: ThirdwebClient;
ecosystem?: Ecosystem;
href: string;
} & Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "href">;
let returnType: Element;