Storybook for Svelte is a UI development environment for your Svelte components. With it, you can visualize different states of your UI components and develop them interactively.
Storybook runs outside of your app. So you can develop UI components in isolation without worrying about app specific dependencies and requirements.
cd my-svelte-app
npx -p @storybook/cli sb init
For more information visit: storybook.js.org
Storybook also comes with a lot of addons and a great API to customize as you wish. You can also build a static version of your storybook and deploy it anywhere you want.
- Support
addon-info
- Support Svelte markup directly in stories
- Add Svelte storybook generator
- Provide stories that show advanced Svelte use cases
- Hydratable
- Advanced mount options