URL Format
To embed a studio, use the following iframe URL:- studio: Replace
12345678with the Scratch studio ID.
JSX/React Example
For React or MDX projects, use this format:Features of the Studio Embed
The embed shows:- Studio Thumbnail in the top left.
- Studio Title and Description.
- Stats:
- Total Projects
- Followers
- Curators
- Top 5 Projects with clickable thumbnails:
- Clicking a project opens in Scratch in a new tab.
- Open Studio in Scratch button.
Notes
- The studio embed updates dynamically, so it always shows the latest projects and stats.
- You can customize the iframe size using
width,height,border, andborder-radius. - Multiple studios can be embedded on the same page using separate iframes.
- Projects inside the studio embed open Scratch pages directly, but you can also combine with project overlay pages if desired.
Quick Tips
- Make sure the studio ID is correct; invalid IDs will show an error.
- The embed is responsive and works well on mobile and desktop.
- Style the iframe with CSS to match your websiteโs look, including rounded corners or borders.