Skip to main content

Does the CLI-based Storybook integration support Web Components?

The CLI-based DSM Storybook integration supports native Web Components using the browser default APIs.

The integration does not support packages or wrappers that use their own API to build Web Components to a bundle (for example, Stencil and Polymer aren’t supported).

If you self-host Storybook, we recommend integrating with DSM by embedding a Storybook URL.

When building your native Web Components in DSM, be sure to select the Storybook HTML tab.

For further reference, view the native-button in our example project on GitHub.

Was this article helpful?

Still have a question?

Get help