Linking stories together
The Links Storybook add-on allows you to link stories together in the same way that you would link regular web pages together. Storybook has a navigation pane that allows you to switch from story to story. This is useful as a table of contents. But when you're reading content on the web, you typically find several links in a single paragraph of text. Imagine if the only way to move around on the web were to look through the links in the table of contents in each document, it'd be painful.
For the same reason that embedding links within content on the web is valuable, embedding links in Storybook output is valuable: they provide context. Let's take a look at an example of links in action. Like Actions, the links add-on ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access