Expand-All

Expand all sidebar items at Storybook start

View on Github

@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',
      ],
      ...
    
Made by
  • llaenowyd
    llaenowyd
Work with
    Angular
    Ember
    HTML
    Preact
    React
    React native
    Svelte
    Vue
    Web Components
Tags