Missing Instructions on How to Insert Figma Design into MDX Docs Page #90
-
Hi, Thanks for creating your designs add-on. I have successfully followed your documentation to get a Figma URL to load on the Canvas panel > Designs tab of a Storybook 6 implementation using MDX story files. Now, I am looking at your Design Doc Block page, where you show that a Figma URL can be embedded on an MDX page, and I can't figure out how you are making this work. The documentation is not clear. Details are missing. I see at the bottom, there is this line...
...but where do you import the How do you import those tags? What is the difference between all these? Can you provide the complete code with import statement(s) to produce an embedded Figma iframe on an MDX page and eliminate the need for the Designs panel? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
These Blocks exist in import { Figma } from "storybook-addon-designs/blocks"
<Figma url="https://foo.bar/baz" /> And you're right, we should provide usable docs for these. I just opened an issue for that. |
Beta Was this translation helpful? Give feedback.
These Blocks exist in
storybook-addon-designs/blocks
.And you're right, we should provide usable docs for these. I just opened an issue for that.