Projetos
Ver no GitHub
2. Register the addon in
storybookjs/addon-designs
Sobre
Um addon do Storybook que incorpora o Figma, sites ou imagens no painel do addon.
Design e mídiaCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- +1
- em 15 dias
- +1
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
Original@storybook/addon-designs
A Storybook addon that embed Figma or websites in the addon panel for better design-development workflow.
Requirements
- Storybook@>=10.0.0
- This addon should work well with any framework. If you find that the addon does not work, please open an issue.
Version compatibility
| Addon designs version | Storybook version |
|---|---|
| ^11.0.0 | ^10.0.0 |
| ^10.0.0 | ^9.0.0 |
| ^9.0.0 | ^9.0.0 |
| ^8.0.0 | ^8.0.0 |
| ^7.0.0 | ^7.0.0 |
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!
const meta = {
title: "My stories",
component: Button,
};
export default meta;
export const MyStory = {
parameters: {
design: {
type: "figma",
url: "https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File",
},
},
};
Similar projects
- Adobe XD: storybook-addon-xd-designs
- Zeplin: storybook-zeplin
- Abstract: storybook-addons-abstract
Explore projetos relacionados
Carregando…