Embed an interactive demo in GitBook

Paste the iframe code, or the /e/ address, into an embed block.

A mado demo is a click-through of your product made from screenshots. Viewers click through it or let it play, on a computer or a phone, and the embed sets no cookies.

Steps

  1. On your demo’s share page (/d/your-demo-slug), press Embed and copy the iframe code. It already has your demo’s address and shape.
  2. In the GitBook editor, add an embed block where the demo should sit.
  3. Paste the iframe code. If the block asks for a link, paste https://mado.show/e/your-demo-slug instead.

Iframe code

<div style="position:relative;aspect-ratio:1.6;overflow:hidden;border-radius:12px;background:#22201C">
  <iframe src="https://mado.show/e/your-demo-slug" title="Interactive demo" loading="lazy"
    allow="clipboard-write; fullscreen"
    sandbox="allow-scripts allow-popups allow-popups-to-escape-sandbox"
    style="position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:transparent"></iframe>
</div>

Checked 4 December 2026. GitBook changes its editor from time to time; if a step no longer matches, tell us.

Every way to embed a demo, its options and other tools: Embedding docs.

Make the demo first

Capture your web app with the mado Chrome extension, or upload screenshots, and publish your first demo free: 5 published demos, unlimited views, no credit card.

Start free