Skip to content

Storybook

This package includes Storybook for interactive component documentation and development.

Running Storybook

To start the Storybook development server:

bash
npm run storybook
# or
pnpm storybook

This will start Storybook on http://localhost:6006

Building Storybook

To build a static version of Storybook:

bash
npm run build-storybook
# or
pnpm build-storybook

This creates a static build in the storybook-static directory that can be deployed to any static hosting service.

Features

  • Interactive component playground
  • Live code editing
  • Component documentation
  • Visual testing
  • MSW (Mock Service Worker) support for API mocking

Accessing Storybook

Once running, you can:

  • Browse all components
  • See live examples
  • Test component props and interactions
  • View component source code
  • Copy code examples

Released under the MIT License.