Use Storybook for vanilla JavaScript or TypeScript projects to preview UI components while keeping your Rsbuild pipeline intact.
These steps assume you already have an Rsbuild project without a specific framework.
Install the HTML framework package to enable vanilla stories.
.storybook/main.ts
You're all set! Review the vanilla TypeScript sandbox to see the setup in action, and continue exploring the Storybook docs.
The framework's types.ts file documents every available option.