Embed an interactive demo in Mintlify

Mintlify pages are MDX, so paste the iframe as JSX, with style as an object.

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. Open the .mdx file of the page where the demo should sit.
  2. Paste the code below and change your-demo-slug to your demo’s slug, the last part of its share link.
  3. If your demo is not 16:10, change aspectRatio to its shape, for example 16 / 9.
  4. Commit or publish as you do for any docs change.

MDX

<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={{ width: '100%', aspectRatio: '16 / 10', border: 0, borderRadius: 12 }}
/>

Checked 4 December 2026. Mintlify 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