10.0.1 • Published 12 months ago

@storybook/addon-designs v10.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

npm version Monthly download GitHub license code style: prettier

@storybook/addon-designs

A Storybook addon that embed Figma or websites in the addon panel for better design-development workflow.

Requirements

  • Storybook@>=8.0.0 (Version 7 of this addon supports Storybook 7)

This addon should work well with any framework. If you find that the addon does not work, please open an issue.

Getting started

1. Install

npm install -D @storybook/addon-designs

yarn add -D @storybook/addon-designs

pnpm add -D @storybook/addon-designs

2. Register the addon in main.js

export default {
  addons: ["@storybook/addon-designs"],
};

3. Add it to story!

export default {
  title: "My stories",
  component: Button,
};

export const myStory = {
  parameters: {
    design: {
      type: "figma",
      url: "https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File",
    },
  },
};

Similar projects

10.0.0

1 year ago

10.0.1

1 year ago

9.0.0-next.3

1 year ago

9.0.0-next.2

1 year ago

9.0.0-next.1

1 year ago

10.0.2-next.0

12 months ago

9.0.0-next.0

1 year ago

8.2.1

1 year ago

8.1.0

1 year ago

8.2.0

1 year ago

8.0.4

2 years ago

8.0.3

2 years ago

8.0.2

2 years ago

8.0.1

2 years ago

8.0.0

2 years ago

8.0.0-next.1

2 years ago

8.0.0-next.0

2 years ago

7.0.8

2 years ago

7.0.9

2 years ago

7.0.7

3 years ago

7.0.6

3 years ago

7.0.5

3 years ago

7.0.4

3 years ago

7.0.3

3 years ago

7.0.2

3 years ago

7.0.1

3 years ago

7.0.0

3 years ago