The Embed component is used to embed GitHub Gist, CodeSandbox, CodePen or others in your content. Set the src attribute to the target platform URL to start the embedding.
Embedding a GitHub Gist
Code Example:
<Embed src="https://gist.github.com/octocat/6cad326836d38bd3a7ae" />
Embedding a CodeSandbox
Code Example:
<Embed src="https://codesandbox.io/embed/new" />
Embedding a CodePen
Code Example:
<Embed src="https://codepen.io/{username}/pen/{pen_id}" />
Configuration options
src the item url of the target platform