
Histoire
Vite-based tool that builds interactive story books of components for Vue, React and Svelte.
Histoire is a Vite-based tool for writing stories, pages that show a component in one or more variants with controls and the source code that reproduces it. A story file imports a component and mounts it in a variant. Histoire builds the stories into a book with navigation, a search index, Markdown documentation and copyable source code. The README lists Vue, React, Svelte, Nuxt and SvelteKit as supported. Each framework is added as a development dependency next to Histoire, and the CLI runs a development server for the book.
Worth knowing
The npm package’s latest tag points to a beta of the next major release, while the newest stable GitHub release belongs to the earlier line. The docs describe beta features, such as an MCP server and a standalone Node deployment target, and a Node.js requirement that the stable package does not declare. Read the docs for the version being installed.
Identity
Rendering and deploy
- Runs as
- Dev only, Static files56
- Rendering
- Static output6
- Install with
- npm i -D histoire5
Releases
Adoption
Sources
- 2026-10-28: links, Maintainer, Built on
histoire.dev/ - 2026-10-28: links, License, Written in, GitHub stars
api.github.com/repos/histoire-dev/histoire - 2026-10-28: links, Categories
github.com/histoire-dev/histoire/blob/main/README.md - 2026-10-28: License model
github.com/histoire-dev/histoire/blob/main/LICENSE - 2026-10-28: Runs as, Install with
github.com/histoire-dev/histoire/blob/main/docs/guide/vue3/getting-started.md - 2026-10-28: Runs as, Rendering
github.com/histoire-dev/histoire/blob/main/docs/guide/deploy-node.md - 2026-10-28: First release, Current major version, Last release
api.github.com/repos/histoire-dev/histoire/releases - 2026-10-28: npm downloads a week
api.npmjs.org/downloads/range/2026-09-28:2026-10-04/histoire - 2026-10-28: Contributors
api.github.com/repos/histoire-dev/histoire/contributors