Skip to content

storybookjs/addon-designs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f14cf8e · Feb 12, 2025
May 29, 2024
Feb 12, 2025
Mar 20, 2019
Mar 12, 2024
Jan 16, 2024
Jun 3, 2024
Dec 26, 2023
Dec 26, 2023
Jul 20, 2023
Aug 10, 2023
Mar 23, 2019
Mar 14, 2024
Feb 12, 2025
Mar 13, 2024
May 21, 2020

Repository files navigation

logo

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