React Vite
@storybook/react-vite
Storybook for React and Vite: Develop, document, and test UI components in isolation
Component Libraries
storybook
storybook-framework
react
vite
component
components
@storybook/react-vite
Component Libraries
javascript
npm
Stars
1
Weekly
0
Open issues
0
Bundle
~60 kB
Installation
npm install @storybook/react-viteCode example
import { Button } from "@storybook/react-vite";
export function Example() {
return (
<div className="flex gap-2">
<Button>Primary</Button>
<Button variant="outline">Secondary</Button>
</div>
);
}Pros & cons
Pros
- Actively maintained by ndelangen
- 0 weekly downloads. Battle tested
- MIT licensed
Considerations
- Adds roughly ~60 kB to your bundle
- Needs client-only rendering in SSR frameworks
- Not supported in React Native
- 0 open issues on GitHub