Embed stories

Watch a video tutorial on the Storybook channel

Embed stories to showcase your work to teammates and the developer community at large. In order to use embeds, your Storybook must be published and publicly accessible.

Storybook supports <iframe> embeds out of the box. If you use Chromatic to publish Storybook, you can also embed stories in Notion, Medium, and countless other platforms that support the oEmbed standard.

Embed a story with the toolbar

Embed a story with the toolbar, and paste the published story URL. For example:

oEmbed
Loading...

Embed a story without the toolbar

To embed a plain story without Storybook's toolbar, click the "open canvas in new tab" icon in the top-right corner of Storybook to get the canvas URL. For example:

oEmbed
Loading...

Embed documentation

Embed a documentation page by replacing viewMode=story with the uniquely auto-generated documentation entry for the story.

oEmbed
Loading...

Embed stories on other platforms

Every platform has different levels of embed support. Check the documentation of your service to see how they recommend embedding external content.

How to embed in Medium

Paste the Storybook URL into your Medium article, then press Enter. The embed will automatically resize to fit the story's height.

While editing an article, Medium renders all embeds non-interactive. Once your article is published, it will become interactive. Preview a demo on Medium.

How to embed in Notion

In your Notion document, type /embed, press Enter, and paste the story URL as the embed link. You can resize the embed as necessary.

Embed Notion

How to embed in Ghost

Type /html in your Ghost post, press Enter and paste the iframe URL. You can resize the embed via the width and height properties as required.

Embed Ghost

Was this page helpful?

Markdown accepted ([link text](url), _italic_, **bold**, etc). Your anonymous feedback will be posted publicly on GitHub.

✍️ Edit on GitHub – PRs welcome!
Storybook
Join the community
6,561 developers and counting
WhyWhy StorybookComponent-driven UI
DocsGuidesTutorialsChangelogTelemetryStatus
CommunityIntegrationsGet involvedBlog
ShowcaseExploreProjectsComponent glossary
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI