Storybook for Web components & Rsbuild is a framework that makes it easy to develop and test UI components in isolation for Web components applications built with Rsbuild.
Use with Web components in a existing Rsbuild project.
To use Web components with Storybook, you need to install the storybook-web-components-rsbuild
package.
.storybook/main.ts
You're all set now. You could also check out the example in sandboxes/web-components and use all other features listed in Storybook site.