Sorry, the InVision Help Center does not support Internet Explorer. Please download Microsoft Edge or another modern browser.


Does the CLI-based Storybook integration support Web Components?

Follow

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