Back to Storybook

Essentials

docs/essentials/index.mdx

10.3.61.3 KB
Original Source

Storybook essentials is a set of tools that help you build, test, and document your components within Storybook. It includes the following:

Configuration

Essentials is "zero-config”. It comes with a recommended configuration out of the box.

Many of the features above can be configured via parameters. See each feature's documentation (linked above) for more details.

Disabling features

If you need to disable any of the essential features, you can do it by changing your .storybook/main.js|ts file.

For example, if you wanted to disable the backgrounds feature, you would apply the following change to your Storybook configuration:

<CodeSnippets path="essential-feature-disable.md" /> <Callout variant="info" icon="💡"> You can use the following keys for each individual feature: `actions`, `backgrounds`, `controls`, `highlight`, `measure`, `outline`, `toolbars`, and `viewport`. </Callout>