- Is your Storybook getting unwieldy with component playgrounds, tests, and documentation examples? Use tags to organize and filter the components and stories in your sidebar. 🏷️ Easy authoring 🔍 Interactive sidebar filter 🙈 Static tag-based filtering 🟢 Updated badges addon
- Applying a tag couldn’t be easier:
- Then, you can filter the sidebar to only view stories that have the chosen tags.
- You can also use tags to opt in or out of features. Here, we remove the test tag from this story to exclude it from being tested:Dec 17, 2024 20:39
- One our esteemed community members, @sidnioulz.bsky.social, created storybook-addon-tag-badges, which will use your tags to render informative badges in the sidebar and toolbar.
- That’s tags. They’re simple, but quite useful. Read the post for all the details, then go forth and tidy!