Replies: 2 comments 2 replies
-
|
Current State: Right now we are using this website for showcasing our developed web components: https://openfoodfacts.github.io/openfoodfacts-webcomponents/ If we agree to use Storybook, it is going to replace this website. |
Beta Was this translation helpful? Give feedback.
-
|
I already did a POC on this for proving that we can easily setup and configure StoryBook for our web-components repository. Find my draft PR here: #105 Attaching screenshot of how our web-component's Storybook would look like: The idea is that, for each component we will be creating a file "Button.stories.ts" which will create all different types of use-case or scenario based stories for that component. These stories will show different variations of the component, maybe how that component would look like in differnt screens or how the component behaves when we pass different property values to it. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am proposing to use Storybook for developing and showcasing our web components.
Why Storybook?
Read more here on their official website: https://storybook.js.org/docs/get-started/why-storybook
Storybook is an industry wide standard for showcasing the components. And there is a separate section on the Storybook official website showcasing StoryBook from all popular companies: https://storybook.js.org/showcase
This tool aligns perfectly with our goals of efficiency and clarity across multiple projects. I believe integrating Storybook will enhance our workflow and make component reuse more seamless.
Let me know your thoughts!
cc: @Kout95 , @alexgarel , @teolemon
Example StoryBook:
Beta Was this translation helpful? Give feedback.
All reactions