Skip to content

Latest commit

 

History

History
194 lines (103 loc) · 8.61 KB

File metadata and controls

194 lines (103 loc) · 8.61 KB
id title
addon-gallery
Addon Gallery

This is a list of available addons for Storybook.

Addons maintained by storybook team.

With a11y you can test compliance of your stories with web accessibility standards.

With actions, you can inspect events related to your components. This is pretty neat when you are manually testing your components.

Also, you can think of this as a way to document events in your components.

With links you can link stories together. With that, you can build demos and prototypes directly from your UI components.

Knobs allow you to edit React props dynamically using the Storybook UI. You can also use Knobs as dynamic variables inside your stories.

With this addon, you can write notes for each story in your component. This is pretty useful when you are working with a team.

If you are using Storybook as a style guide, then this addon will help you to build a nice-looking style guide with docs, automatic sample source code with a PropType explorer.

The Storybook webapp UI can be customised with this addon. It can be used to change the header, show/hide various UI elements and to enable full-screen mode by default.

Storyshots is a way to automatically jest-snapshot all your stories. More info here.

Redirects console output (logs, errors, warnings) into Action Logger Panel. withConsole decorator notifies from what stories logs are coming.

With this addon, you can switch between background colors and background images for your preview components. It is really helpful for styleguides.

Viewport allows your stories to be displayed in different sizes and layouts in Storybook. This helps build responsive components inside of Storybook.

Support google analytics in Storybook

Show story source in the addon panel.

Community Addons

You need to install these addons directly from NPM in order to use them.

With this addon, you can add docs in markdown format for each story. It's very useful because most projects and components already have README.md files. Now it is easy to add them into your Storybook.

A decorator that allows you to use your routing-aware components in your stories.

A decorator with powerful display options for hosting, sizing and framing your components.

This is a very special addon where it'll allow you to write test specs directly inside your stories. You can even run these tests inside a CI box.

With this addon, you can showcase multiple components (or varying component states) within 1 story. Break your stories down into smaller categories (chapters) and subcategories (sections) for more organizational goodness.

Given possible values for each prop, renders your component with all combinations of prop values. Useful for finding edge cases or just seeing all component states at once.

Wraps your story into MuiThemeProvider. It allows you to add your custom themes, switch between them, make changes in the visual editor and download as JSON file

With this addon, you can test your storybooks with a different text-direction. It is very useful if you are working on components that have to work both in LTR as well as in RTL languages.

This addon shows a preview of the JSX code for each story. It allows you to configure the display and copy the code with a single click.

With this addon you will have an additional panel at the bottom which provides you buttons to switch the locale and directly see the result in the preview.

This addon lets you navigate different versions of static Storybook builds. As such you can see how a component has changed over time.

Preview your stories at a variety of breakpoints, so that you can be sure that your components will look great no matter what screen size.

Wrap your stories with the Apollo client for mocking GraphQL queries/mutations.

Save the screenshot image of your stories. via Puppeteer.

Add ability to customize styles in the story preview area

Embed Figma designs in a storybook panel.

Manage state inside a story using a store. Update components when this state changes.

Manage state inside a story. Update components when this state changes. Wrap the story in a function call to setup state management. The story can modify state properties with the provided store. The addon provides a panel to view and reset state.

Store/retrieve arbitrary data. Similar to knobs this doesn't add any additional React wrappers to the story, so any other addons used (prop-types, jsx) aren't effected. Has a React hooks like API.

Convert stories into Sketch 💎 symbols.

styled components theme selection.

Create stories with AngularJS(1.x) components.

JSS theme selection.

Allows you to change the theme based on the css class name and adds a theme selection control to storybook panel.

Provides live react story editing and preview.

Display code and copy it to the clipboard. It also has options to customize colors and syntax highlighting for any language. There is similar functionality via @storybook/addon-info but addon-info doesn't currently work when using @storybook/html.

Display react docgen info. This addon is a drop in replacement for the @storybook/addon-info's prop table functionality. Rather than rendering with the component it renders in the addons panel. Works with typescript too!

Let your users toggle between a dark and light mode.