This project is not covered by Drupal’s security advisory policy.

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.

Supporting organizations: 

Project information

Releases