Comments (4)
You can embed more than one design assets (not only Figma, also links, images, and iframes) into one story by passing an array of objects. (Example)
If you do so, I'd recommend you to set a tab name via the name
property.
export const myStory = () => <MyComponent />
myStory.parameters = {
design: [
{
name: 'Mobile',
type: 'figma',
url:
'https://www.figma.com/file/Klm6pxIZSaJFiOMX5FpTul9F/storybook-addon-designs-sample',
},
{
name: 'Desktop',
type: 'figma',
url:
'https://www.figma.com/file/Klm6pxIZSaJFiOMX5FpTul9F/storybook-addon-designs-sample',
},
],
}
from addon-designs.
Sure! here you go!
#122
from addon-designs.
Hi! I don't know if I should reopen this. Im having a problem when including multiple experimental-figspec
designs.
Only the first one in the array list is loading properly. The second one seems like blocked and cant even scroll in the figma iframe
Also, when adding one figspec and one normal figma, it works correctly
from addon-designs.
@sauldeleon
Can you open a new issue? It seems specific to figspec embed.
from addon-designs.
Related Issues (20)
- Figma login error HOT 4
- Unable to install beta v2 after installing Storybook v7-beta63 HOT 6
- Dependency on @storybook/api or incompatibility with Storybook 6.5.16 HOT 1
- Docs and demo page is 404 HOT 8
- Support SB7 HOT 8
- Add support for type: 'markdown' HOT 1
- storybook 7. 0.12 not working with [email protected] HOT 2
- renderTarget: "tab" does not display the design tab HOT 2
- v7.0.0 is not published to npm registry
- Make it possible to use two design types simultaneously HOT 1
- Version 7.0.0 not available on npmjs HOT 1
- Warning in console after installing addon HOT 2
- Latest version(s) aren't being published HOT 1
- V7 release in npm HOT 1
- Error when trying to use figspec. HOT 1
- Addon not able to load images from local file paths HOT 1
- Add a prop like onToggle to Figma component?
- Support for storybook 7 HOT 5
- Can't use @storybook/addon-designs with NEXTjs 13 HOT 4
- Changelog & Git version tags HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addon-designs.