Skip to content

Commit 1a00108

Browse files
committed
feat: Add new SiteEmbed component for embedding thirdweb-supported sites with wallet connection
1 parent 1bd949c commit 1a00108

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.changeset/breezy-scissors-scream.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,19 @@
22
"thirdweb": minor
33
---
44

5-
a
5+
Added new `SiteEmbed` React component for embedding thirdweb-supported sites with seamless wallet connection support.
6+
7+
The component allows you to embed other thirdweb-enabled sites while maintaining wallet connection state, supporting both in-app and ecosystem wallets.
8+
9+
Example usage:
10+
```tsx
11+
import { SiteEmbed } from "thirdweb/react";
12+
13+
<SiteEmbed
14+
src="https://thirdweb.com"
15+
client={client}
16+
ecosystem={ecosystem}
17+
/>
18+
```
19+
20+
Note: Embedded sites must include `<AutoConnect />` and support frame-ancestors in their Content Security Policy.

0 commit comments

Comments
 (0)