Drupal is a registered trademark of Dries Buytaert

This module exposes USWDS components as Drupal Single-Directory Components and supplies Stories twig files for integration with the Storybook module.

Target Audience

This module’s target audience is developers of U.S. Government websites who want to integrate Storybook into their front-end development workflow.

Post-Installation

In your custom theme, you will want to declare uswds_storybook/normalize and uswds_storybook/base under the libraries key in your info file.

This module does not depend on the Storybook module, but it is highly recommended.

Why is this a module and not a base theme?

Making this a module allows us to leverage module-specific functionality such as defining elements, field formatters, and custom Twig filters.

Activity

Total releases
4
First release
May 2025
Latest release
8 months ago
Release cadence
16 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
3.13.0-alpha3 Pre-release Jun 17, 2025
3.13.0-alpha2 Pre-release Jun 17, 2025
3.13.0-alpha1 Pre-release Jun 17, 2025
3.12.x-dev Dev May 1, 2025