What is Storybook?
Storybook is an open source tool for developing and testing application components in isolation. By providing a convenient environment, Storybook facilitates the creation of new UI components for the most popular frameworks such as Angular, React or Vue. In work between many teams, it is very important to not reinvent the wheel but to share once created solutions. In this case, a good component library that allows a quick overview of the controls and sharing them becomes a crucial tool in the project.
Storybook is not only useful for developers but also for designers. It enables quick listing of all components used in the project together with the possibility of changing their states. Thanks to that, designers can provide valuable feedback to developers much faster. If there are any inconsistencies between the components in the project, Storybook will help you locate them. It is a great tool for quality assurance engineers as well. The ability to run unit and snapshot tests for components and automatic visual testing improves the work on new components.
Why you should consider using a style guide?
When there are more and more functionalities and components in the application, it is difficult to remain consistent and follow all changes. Requirements can change very dynamically, and this causes frequent modifications in design. Developers are changing projects, UX specialists and designers also, so one source of truth is needed for each project. No matter what libraries or frameworks you use. A good collaborative tool between team members is necessary for the correct flow of information in the team. In large projects, the key thing is consistency between different components. To avoid inconsistencies in design, it is usually a good idea to create separate documentation for all of your components. There are many tools for such purposes, and one of the most popular is Storybook.
What makes Storybook special?
There are many tools that allow you to create a style guide for a project, but most of them only allow you to list the components used in the application. Another problem is that there are many different frameworks and it is difficult to create a universal tool that will handle applications of various types. Storybook deals with these issues very well and has many other advantages that are missing from other solutions.
- Testing in isolation
The individual components are separated from each other, independent and there is no fear that the styles of a given component will cause defects in other places.
- Add-ons
Storybook itself has many useful features, but it is possible to extend basic functionalities using external add-ons like knobs, viewport switcher or accessibility tools.
- Support for many frameworks
Storybook was initially created only for React.js, but currently supports many other frameworks like Angular, Vue or even React Native. The configuration for each library is simple and allows you to get started quickly.
- Export as a static app
As an independent platform, Storybook can be built and published as a static website and placed on any, even the most basic hosting service.
- Automated visual testing
Storybook has several add-ons to help you work with tests such as unit tests or snapshots. With the support for external services integration, the storybook is also an excellent platform for automated testing.
- Track changes
Storybook allows you to visually track changes and view the history of individual components. With the help of additional add-on, auto-detect code regression is also possible.
Pagepro in numbers
- Team members30+
- Clutch.co Rate4.9 / 5
- Client Retention ratio92 %
Should we get it done?
Let's talk about you now!
Tell us about your challenge, and let's get the ball rolling.
Here are some examples of our Front-end projects:
Learn more about Storybook development with us!
Storybook is a convenient tool for us that we use to work on large projects and we love to share the knowledge about it. You can meet us at IT conferences and workshops. Our experts also spread their experience in internal meetups or by writing interesting articles on the blog.
- Open Workshop: Introducing basics of React
16.05.2018, Białystok, Poland.
- A lecture at Bialystok University of Technology
28.05.2018, Białystok, Poland.
- Advanced React & Redux Patterns - a lecture on MeetJS Summer Special
25.08.2018, Białystok, Poland.
Other recommended services
At Pagepro, we do not only help our clients in the Storybook configuration. Our main purpose is to create web applications that are also great for presentations in Storybook. Our experts can provide consultation for you on the technology and frameworks to select for your product.
Hire dedicated Storybook developers and designers
Do you have a project to implement, or want some expertise? We create projects where Storybook plays a key role, but we also can help you in the configuration of your style guide. Feel free to contact us! We will be glad to answer all your questions!