Expand-All
Expand all sidebar items at Storybook start
npm install @a110/storybook-expand-all
103
Downloads per week

@a110/storybook-expand-all

npm version

This Storybook Add On aims to expand all the items in the sidebar when the Storybook launches in the browser.

The credit is entirely due to this issue post.

Usage

  • Install with for example yarn add -D @a110/storybook-expand-all
  • Add to the list of addons in .storybook/main.js:
      ...
      addons: [
        '@storybook/addon-links',
        '@storybook/addon-essentials',
        '@storybook/addon-interactions',
        '@a110/storybook-expand-all',
      ],
      ...