Install

Works with Drupal: ^11.5 || ^12

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 25.64 KB
MD5: 3d6286d555f0831b375284f8e617253d
SHA-1: 2aa7afaf294a797953f14d6fa1ffc2f6abdee39b
SHA-256: cc0b998335c25131ae3bc8f48cb71fc07d56a105d6ece3ac7122777947bd66ca
Download zip 39.22 KB
MD5: 77f5badb31ff4f567e5ef6ffe75481e4
SHA-1: 9c2f29456cf401ada9367f2427df739a5fde00c6
SHA-256: 0261344f8c51fb11fae08dd0c2d0d4e04021a9179ded1b9dff79ab489aff0cec

Release notes

The first release: core's form elements, buttons, tabs, pager, lists and tables in the Design System API's look, for themes that opt in. Up to Design System API 1.0.0-alpha7 the patterns were part of that module.

Status: experimental. It follows the Design System API's contract, which will still change.

What it provides

  • Under a theme with design_system_api: { patterns: true } in its info file (or a base theme that has it), core's fields, buttons, checkboxes, tabs and local actions get the ds-* pattern classes, and every page gets the pattern CSS. Other themes are unchanged.
  • Patterns::classify() for module UIs that draw their own forms with the patterns, under any theme.

Moving from the Design System API's patterns

  • Add this project with Composer and enable it (drush en design_system_api_patterns) when you update the Design System API to 1.0.0-alpha8. The opt-in key and the classes are the same.
  • The libraries are design_system_api_patterns/forms, navigation and table (were design_system_api/…).

Requirements

Drupal ^11.5 || ^12, PHP 8.3 or later, and the Design System API 1.0.0-alpha8 or later.

Created by: d34dman
Created on: 10 Nov 2026 at 17:36 UTC
Last updated: 10 Nov 2026 at 17:36 UTC

Other releases