Storybook
Fusion uses Storybook to document and develop its components.
Using Fusion’s Storybook
The Fusion Storybook is available at https://storybook.fusion.codedazur.cloud/ . The stories are organized by category and represent the most common use cases for each component.
You can use the controls tab in addons sidebar to further explore the component’s capabilities and the actions tab to see the component’s interactions. Interaction tests and accessibility tests are also available for each story in the addons sidebar.
Using Stories in Your Project
If you use components from Fusion in you project, you may want to include stories for them in your own storybook as well.
A package is currently under development that allows you to import stories for Fusion components directly into your own project. Until then, please resort to copying the source code for the stories from the Fusion repository into your own project.