Getting Started

Storybook Rsbuild

latest versionNPM downloads per monthlicense

The repository contains the Storybook Rsbuild builder and UI framework integrations.

package description
storybook-builder-rsbuild Rsbuild powered builder for Storybook
storybook-react-rsbuild React integration for Storybook with Rsbuild builder
storybook-vue3-rsbuild Vue 3 integration for Storybook with Rsbuild builder
storybook-html-rsbuild Vanilla JS/TS integration for Storybook with Rsbuild builder
storybook-addon-rslib Addon to load config from Rslib

Usage

Peer dependencies requirements
  • @rsbuild/core >= 1.0.1: The builder relies on Rsbuild's 1.0 stable version. Check out Rsbuild's 1.0 announcement for more details.
  • storybook >= 8.2.1: Storybook made some internal refactor in major version, 8.2.1 is tested out. (check out Storybook's release note for migrating from v7)

In Storybook v8, you don't need to manually install storybook-builder-rsbuild, it has been depended by the framework, such as storybook-react-rsbuild and storybook-vue3-rsbuild.

Use with frameworks

React

See integrating with React.

Vue

See integrating with Vue.

Vanilla JS/TS

See integrating with vanialla JavaScript / TypeScript.