Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

UI Controls

Security covered Under active development 5 sites

Part of the UI ecosystem · 47 projects

This module provides visual controls for Drupal's Display Builder, replacing long lists of classes and raw properties with intuitive options like spacing boxes, color swatches, and button groups. These controls are theme-agnostic and configurable, offering a more user-friendly way to style content within the Display Builder interface.

Visual controls for Display Builder on top of UI Styles and UI Patterns forms: a spacing box, color swatches, button groups, column presets and variant axes instead of long lists of classes and raw props.

Controls are mapped per theme in config, so the module has no dependency on any theme.
Display Builder recipes ship the mapping of their theme, such as the Display Builder Bootstrap recipe for UI Suite Bootstrap.

Proof of concept. APIs and config may change without notice.

Requirements

Installation

Install as you would normally install a contributed Drupal module. See Installing Modules for further information.

Enable ui_controls_display_builder to use the controls in Display Builder 1.0.0-beta9 or later. UI Controls 1.1 does not install with an older Display Builder.

Configuration

A mapping is a ui_controls.mapping.THEME config entity, edited as YAML for now. It names the styles and component props each control drives.
The mapping of the default theme is used, falling back to its base themes, even when the form is rendered with the admin theme.
Saving a mapping logs its mistakes as warnings. See Writing a mapping, which also covers using a recipe's mapping without the recipe.

In Display Builder, the "Show visual controls" setting of the Styles and Config islands turns their controls on or off per profile.
Off leaves the plain UI Styles or UI Patterns form, writing the same values.

Maintainers

Support

Support my open source work on Liberapay. Need a feature, a fix or help on your project? I take sponsored work and freelance missions: contact me.

Drupal 11 · not 10 PHP >=8.3

Ask your assistant about UI Controls

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

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Sep 2026
Latest release
3 weeks ago
Releases (12 mo)
5 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.1.x-dev Dev 11 PHP >=8.3 Oct 22, 2026
1.1.0 Stable 11 PHP >=8.3 Oct 22, 2026
1.0.1 Stable 11 PHP >=8.3 Sep 29, 2026
1.0.0 Stable 11 PHP >=8.3 Sep 29, 2026
1.0.x-dev Dev 11 PHP >=8.3 Sep 29, 2026