
Let's dive into the zeroheight Storybook integration...

Developers on design system teams know the importance of maintaining a cohesive and well-documented design system. For many, the tool of choice for the dev side of a design system has been Storybook. It makes sense — Storybook is a robust tool that allows developers to view, edit, and experiment with components to understand how code changes can affect them. But what happens when you want to expand on the capabilities of Storybook? Or when you want to make information in Storybook available to folks outside the engineering organization? This is where zeroheight's Storybook integration comes into play.
The Storybook integration in zeroheight allows design system developers to:
If your documentation in Storybook is already top-notch, it can feel daunting to even think about creating a design system site and rebuilding what you already have from scratch.
The good news is that’s not a concern when you build your site with zeroheight. Instead of starting with a completely blank canvas, you can enter your Storybook URL, and we’ll create an entire styleguide that includes a page for each of your components.
From there, you can enter additional information that helps developers understand how to appropriately use components. For example, you could try adding a Rules block to clearly articulate desired behavior and behaviors to avoid. Or you may try giving your developers more information about how components should be designed by importing the design from Figma.
Don’t worry - all of the information you already have in Storybook will display in zeroheight, too. That includes your component’s code, props, and docs via the integration.
Folks who have already created a design system in zeroheight can always enhance it by embedding a block from Storybook on any new or existing page. As an added bonus, you can add multiple stories to a page simultaneously.
This means that teams can add developer content at any stage of building a design system. For example, you may have a design system that currently includes tons of information for designers, including annotated design uploads, usage guidelines, and embedded content. When you’re ready, you can start including content from Storybook to make your existing site even more valuable for the developers on the squad.
Getting information from Storybook into your design system site for the first time is only half the battle. You’ll also want to make sure that your embedded stories stay up to date. Luckily, that’s pretty easy when using zeroheight to manage your site, too.
When you release a new version of Storybook, you can update the URL in your styleguide settings. The embedded stories on all of your pages will update automatically from there.
Easy updates ensure developers peeking at your site are always looking at (and implementing) the right version of a component.
There are still situations where folks might be using Storybook outside of zeroheight. We're big believers in contextual documentation. A lot of what we've been working on this year has been around delivering your design system documentation where it makes the most sense contextually. This is one of the reasons we built the zeroheight Storybook addon to compliment our Storybook integration. Using the zeroheight API, we now have an easy way to pull the component documentation into Storybook, ensuring that the most up to date information is available wherever folks are.
We like to think of design systems as a perfect middle ground. They’re the place where both designers and developers can find information that pertains to them and build together. But it’s no secret that adding in content from devs can be a challenge for design system managers.
zeroheight’s integration with Storybook is just one way a team can democratize their design system site. Whether you’re just getting started and leveraging the option to create a styleguide with a Storybook URL or adding in content for developers to your existing site, we hope you give the feature set a try!