Examples
Storybook Rsbuild provides a variety of examples (sandboxes) to help you get started with different frameworks and configurations.
These examples are located in the sandboxes directory of the repository.
Frameworks
React
- React 18: Basic React 18 setup with TypeScript.
- React 16: Legacy React 16 support.
- Rspack React: Integration with raw Rspack configuration (without Rsbuild).
Vue
- Vue 3: Vue 3 with TypeScript and JSX support.
Web Components
- Lit: Web Components development using Lit.
Vanilla JS/TS
- Vanilla TS: Framework-agnostic setup for vanilla JavaScript/TypeScript.
Advanced Integrations
Module Federation
Storybook Rsbuild supports Module Federation out of the box.
Modern.js
- Modern.js Framework: Seamless integration with the Modern.js full-stack framework, reusing the app's config.
Rslib (Library Build)
Testing
- React Testing: Demonstrates Storybook's test runner and interaction testing capabilities.