@storybook/addon-actions
TypeScript icon, indicating that this package has built-in type declarations

8.0.1 • Public • Published

Storybook Addon Actions

Storybook Addon Actions can be used to display data received by event handlers in Storybook.

Framework Support

Screenshot

Installation

Actions is part of essentials and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:

npm i -D @storybook/addon-actions

Then, add following content to .storybook/main.js:

export default {
  addons: ['@storybook/addon-actions'],
};

Usage

The basic usage is documented in the documentation. For legacy usage, see the advanced README.

Package Sidebar

Install

npm i @storybook/addon-actions

Weekly Downloads

4,392,580

Version

8.0.1

License

MIT

Unpacked Size

54.9 kB

Total Files

13

Last publish

Collaborators

  • yannbf
  • kasperpeulen
  • valentinpalkovic
  • jreinhold
  • shilman
  • ndelangen
  • hypnosphi
  • tmeasday
  • igor-dv