Storybook
Development library / tool · Free
An environment for developing, documenting, and testing UI components in isolation from the full application.
Also known as: storybookjs/storybook

What you can use for free
Storybook code is available free of charge for local and commercial projects, subject to its license.
Paid features and costs
Local Storybook is free. Chromatic cloud visual checks are a separate product with their own limits and pricing.
Access and limitations
Storybook code is available free of charge for local and commercial projects, subject to its license. Local Storybook is free. Chromatic cloud visual checks are a separate product with their own limits and pricing.
Use cases
- Isolated UI component scenarios
- Documenting and checking interface states
Example workflow
A possible workflow; this is not a report of hands-on testing.
Isolated UI component scenarios with Storybook.
Before you start
- A working JavaScript; React/Vue/Svelte project and a specific use case: isolated UI component scenarios.
- A design, interface states, or dataset; target screens and accessibility requirements.
Steps
- Check the project's stack and version against the current Storybook documentation; add the package or the required source component.
- Implement the selected workflow with the supplied data, adapting styles and states to the project.
- Check the result in the target environment, remove sample data, and retain the notices required by the license.
Check your result
- The example works in the chosen tech stack, including target dimensions and input errors.
- Dependency size, keyboard behavior, and reduced motion suit the task; license terms are met.
Choosing Storybook
Isolated UI component scenarios
Choose this when
- Isolated UI component scenarios
- Documenting and checking interface states
Requirements
- Define component states and choose an integration and addons suited to your framework version.
Things to consider
- Costs and limits of free use: Local Storybook is free. Chromatic cloud visual checks are a separate product with their own limits and pricing.
- Terms of use: MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.
- The integration list does not mean every addon has identical support in every environment. Isolated component checks do not replace whole-application checks.
Frequently asked questions
What can you use for free in Storybook?
Storybook code is available free of charge for local and commercial projects, subject to its license.
What additional costs might arise with Storybook?
Local Storybook is free. Chromatic cloud visual checks are a separate product with their own limits and pricing.
What terms of use matter for Storybook?
MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.
How do you get started with Storybook?
Check the project's stack and version against the current Storybook documentation; add the package or the required source component. Implement the selected workflow with the supplied data, adapting styles and states to the project. Check the result in the target environment, remove sample data, and retain the notices required by the license.
Why use Storybook when components are already visible in a running application?
Storybook is a separate development environment for components and pages in isolation. It is used for UI development, testing, and documentation; addons extend documentation, interactivity, and checks. The README shows separate renderers/framework integrations for React, Angular, Vue 3, Web Components, HTML, Svelte, and other environments; some integrations develop separately.
Related tasks and approaches
License
MIT: permits commercial use, modification, and distribution of the code at no charge, provided the license text and copyright notice are retained.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- JavaScript
- React/Vue/Svelte
- testing