Workflow
What Storybook actually does in a Drupal SDC workflow
Storybook is the component lab, not the runtime. The same Twig components used in Drupal are documented and tested there with controlled example data.
When a Drupal theme uses Single Directory Components, Storybook becomes the most useful place to review component variants before they are exposed to authors. It lets teams see states clearly, validate contracts, and keep examples close to the implementation.
In this project, Twig stories generate JSON that the Storybook app reads. That keeps documentation aligned with the actual Drupal components instead of splitting the system into a separate React-only library.