About the Core's Style API proposal

Created on 7 June 2025, about 1 month ago

We are currently proposing an addition to Core which has an intersection with Block Style Plugins scope: Add a style utility API Active

With an API containing:

  • A 'Style" plugin definition with a YAML discovery
  • A simple form element to pick a style's option
  • A new render property to apply styles to renderable

After SDC in Drupal 10.1 (July 2023), and the Icon API in Drupal 11.1 (Dec 2025), it will be another design system API custom and contrib project would be able to leverage.

A future version of Block Style Plugins would be able to rely on this API for style declaration and injections, and add its own mechanisms like:

  • Advanced form customization
  • Everything related to the Blocks API (include/exclude according to plugin ID or derivers..)

So don't hesitate to participate to the discussion.

📌 Task
Status

Active

Version

2.0

Component

Miscellaneous

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024