Single Directory Components (SDCs) are a key innovation in Drupal 11, packaging templates, logic, and styles together. In this tutorial, Philip Norton of Hash Bang Code demonstrates how to preview these components directly within Drupal using the SDC Component Library module. The guide explains how to structure .story.twig files, configure access permissions, and preview multiple component variations—all without relying on external tools like Storybook.
...more