Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Shareable Single Directory Components allows you to create and reuse SDCs independently of themes or modules. This makes components portable and sharable across different projects, reducing code duplication and fostering collaboration.

Shareable Single Directory Components (SDC) allows developers to contribute and reuse SDCs across projects, without requiring them to be tied to a specific theme or module. This makes SDCs portable and sharable, reducing duplication and improving collaboration.

Features

  • Provides a way to create and share SDCs independently of a theme or module.
  • Encourages reusability of component code across different projects.
  • Reduces code duplication by letting you contribute SDCs from a single source.
  • Makes it easier for teams to collaborate and contribute components back to the community.

Use cases:

  • You want to share an SDC component across multiple projects without copying the code.
  • You want to contribute reusable SDCs to the Drupal ecosystem.
  • You want to maintain consistency across multiple sites by reusing the same SDCs.

Post-Installation

After installing this module:

  • Place your components under the components folder at the root level of the Drupal site
  • Clear cache
  • Embed or include your components as {% include 'components:sdc' %}

Single Directory Components Styleguide

Integrating with the Single Directory Components Styleguide module
should be a matter of just activating both modules and you should see the components in the components explorer at
`/explorer/styleguide` (keep in mind to check the module permissions).

Activity

Total releases
5
First release
Aug 2025
Latest release
5 months ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.0-rc2 Pre-release Feb 17, 2026
1.0.0-rc1 Pre-release Feb 17, 2026
1.0.0-beta2 Pre-release Nov 21, 2025
1.0.0-beta1 Pre-release Aug 18, 2025
1.0.x-dev Dev Aug 18, 2025