Does the CLI-based Storybook integration support Web Components?
  • 06 Feb 2023
  • 1 Minute to read
  • Dark
    Light

Does the CLI-based Storybook integration support Web Components?

  • Dark
    Light

Article Summary

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).

Tip: 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?