Preview.js detects all UI components and Storybook stories in your codebase.
If you use TypeScript, Preview.js will generate valid properties for each component on demand.
Preview.js uses Vite under the hood, which allows it to achieve snappy refreshes. Previews will be updated before you have a chance to hit save.
Preview.js offers full support out of the box for Preact, React, Solid, Svelte and Vue 2 & 3.
Meta-frameworks such as Next.js, Nuxt, SolidStart and SvelteKit are also supported (some configuration may be required).
Tweak properties in just a few clicks. No need to write any code.
Save your favourite sets of properties for each component, so you can resume where you left off.
Save your preview as a Storybook story, or tweak existing stories.
Writing documentation has never been easier!
Quickly preview any other component or story with a convenient search function.
Preview your component with different screen sizes at the click of a button.
Switch dark background on/off easily.