Help Center

Embed CodeSandbox

Embed CodeSandbox

You can embed code previews from CodeSandbox using the Embed option in zeroheight.

1) Open CodeSandbox

2) Click on the Embed button on the top right.

Embed button in the top right corner of Code Sandbox

3) Click on the Copy Embed Code button on the left.

Copy Embed Code button in the Embed window in the left hand side

4) In zeroheight add an Embed block.

Embed function hovered over in the zeroheight toolbar.

5) Paste the CodeSandbox iframe code. Your CodeSandbox will now be visible in your styleguide.

Code Sandbox displayed in zeroheight.