storybookjs / addon-designs

A Storybook addon that embeds Figma, websites, or images in the addon panel.
https://storybookjs.github.io/addon-designs
MIT License
876 stars 72 forks source link

Make it possible to use two design types simultaneously #202

Closed thomas-haufe closed 1 year ago

thomas-haufe commented 1 year ago

Is your feature request related to a problem? Please describe. My components are based on antd components. We also have our own figma design.

Describe the solution you'd like I would like to link both our figma design and the antd design documentation page (e. g. https://ant.design/components/button#examples) in my storybook so that they are both visible and I don't have to leave my storybook for looking at either of them.

Describe alternatives you've considered As long as this doesn't work, I will use figma with the design addon and I will link to the antd component page using the autodocs documentation feature. However, it will force me out of storybook if I want to look at the antd component documentation. Also, this means that the two things are located at very different positions in very different ways even though they are conceptually very similar.

Design types

pocka commented 1 year ago

Docs / Advanced usage - Embed Multiple Designs ⋅ Storybook

(https://github.com/storybookjs/addon-designs/issues/7)