Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Design System API

Security covered Under active development

This project provides a design contract for Drupal that allows modules to implement UI components using semantic design tokens and pattern specifications. This ensures consistent appearance and behavior across different themes, with built-in defaults for compatibility. It is built using core's Design Tokens API and Single Directory Components and works with various frontend frameworks.

Design System API gives Drupal a shared design contract that themes implement and modules build against. Modules use semantic design tokens and pattern specs instead of theme-specific CSS, so their UI looks and behaves consistently under any theme that implements the contract, and acceptably under themes that don't, thanks to built-in defaults.

If you want to see this in action, you can try it out in Advaita theme.

Watch the explainer (9 min): Design System API on YouTube. It covers the problem, the contract and how modules, themes and site builders each use it.

Chapters:

  • 0:21 Same widget, two places
  • 0:44 Design system, component library
  • 2:02 Count the design systems
  • 2:47 The promise
  • 3:25 Where it applies
  • 4:06 Its type
  • 4:39 Its icons
  • 5:09 Everything else
  • 5:40 Keeping it together
  • 6:23 Something to follow
  • 7:12 Freedom to override
  • 7:28 Freedom of technology
  • 7:55 Where each piece stands
  • 8:31 Decided together
  • 8:50 Join

Built on core's Design Tokens API (W3C DTCG format) and Single Directory Components. Framework-agnostic: works for Twig, vanilla JS and islands in any framework.

Includes:
- the contract vocabulary of semantic tokens, with default values for admin and frontend contexts
- structured design rules (must / should / may) with stable IDs, readable by people, linters and AI assistants
- a resolver that merges contract, theme and project layers and outputs CSS custom properties
- adapters for the core themes Claro and Default Admin

Status: experimental. The vocabulary will change while it's being developed together with theme maintainers.

Ask your assistant about Design System API

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Oct 2026
Latest release
1 week ago
Releases (12 mo)
10 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-alpha10 Pre-release PHP >=8.3 Nov 20, 2026
1.0.0-alpha9 Pre-release PHP >=8.3 Nov 12, 2026
1.0.0-alpha8 Pre-release PHP >=8.3 Nov 10, 2026
1.0.0-alpha7 Pre-release PHP >=8.3 Nov 10, 2026
1.0.0-alpha6 Pre-release PHP >=8.3 Nov 3, 2026
1.0.0-alpha5 Pre-release PHP >=8.3 Nov 3, 2026
1.0.0-alpha4 Pre-release PHP >=8.3 Nov 3, 2026
1.0.0-alpha3 Pre-release PHP >=8.3 Nov 2, 2026
1.0.0-alpha2 Pre-release PHP >=8.3 Oct 28, 2026
1.0.0-alpha1 Pre-release PHP >=8.3 Oct 18, 2026