Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Display Builder Basecoat

No security coverage Under active development

This recipe extends the Display Builder CMS recipe to provide a ready-to-use Basecoat experience in Drupal thanks to the Basecoat theme and UI Suite modules.

Introduction

  • Basecoat theme

Basecoat, shadcn/ui in plain HTML and Tailwind CSS, as Drupal components.
Use Basecoat components (card, button, tabs, accordion, alert and more) directly from the Drupal back office (with Display Builder) in a low-code way.

  • UI Suite provides a cohesive set of modules to implement full design systems in Drupal.
  • Display Builder leverages the full UI Suite API in a modern visual builder.

Specific version(s)

Current documentation and 1.0 branch is for Drupal 11.4.11+ and Display Builder 1.0+ only.

Recipe documentation

First see general Drupal recipe documentation:

Then for reference Display Builder documentation:

Installation

  • Start with Drupal 11.4.11+, only new website with profile minimal is supported
composer create-project drupal/recommended-project:~11.4.11 drupal_basecoat
cd drupal_basecoat

Quick Libraries Setup

Basecoat loads from the jsDelivr CDN. The status messages and the demo use Lucide icons, served from /libraries/lucide-static, which asset-packagist does not serve: use the npm tarball.

npm pack [email protected]
mkdir -p web/libraries/lucide-static
tar -xzf lucide-static-1.52.0.tgz -C web/libraries/lucide-static --strip-components=1

To serve Basecoat from /libraries too, pick Local in the theme settings and unpack [email protected] the same way in web/libraries/basecoat-css.

Quick Recipe Setup (11.4+ only)

Display Builder ships two patches for UI Patterns. Install composer-patches first, so Composer applies them. More in the Display Builder installation page, section UI Patterns patches.

composer config allow-plugins.cweagans/composer-patches true
composer require cweagans/composer-patches:^2

Install the recipe:

composer require drupal/display_builder_basecoat:^1.0 drupal/display_builder:^1.0@dev drupal/basecoat:^1.0@dev drupal/ui_controls:1.0.x-dev

Display Builder has no stable 1.0 release yet, and Basecoat has none either. Composer reads the @dev flags only from your project. Keep them, or set minimum-stability to dev in your composer.json.

Install Drush (recommended):

composer require drush/drush

Drupal Installation

Recipe is meant for a new website and can not be applied on an existing profile, only minimal profile is supported.

  • Install the Drupal Minimal profile

For example, with DDEV and Drush:

ddev config --project-type=drupal11 --docroot=web
ddev drush si -y minimal
  • Apply this recipe (Drupal 11.4+ only)

Run this command with DDEV, use ddev exec:

ddev exec dr recipe ../recipes/display_builder_basecoat

If the command succeeds, you should see the following output:

[OK] Display Builder with Basecoat applied successfully

Important: Clear the Drupal cache after applying the recipe.

ddev drush cache:rebuild

Visit your website, for example with DDEV:

ddev launch

Login as admin to your website:

ddev drush uli

AI assistant, optional

Two ways to build displays with AI.

Chat in the builder. Display Builder AI adds a chat island to the builder. Apply the Display Builder AI Recipe on top. It asks for an OpenAI or Anthropic API key:

ddev composer require drupal/display_builder_ai:^1.0@alpha drupal/display_builder_ai_recipe:^1.0@alpha
ddev exec dr recipe ../recipes/display_builder_ai_recipe

Your own local agent. Display Builder Tools lets an agent that speaks MCP, such as Claude Code, read and change displays through MCP Server. It is the layer Display Builder AI builds on:

ddev composer require drupal/display_builder_tools:^1.0@beta drupal/tool:^1.0@beta drupal/mcp_server:^2.0@beta drupal/mcp_server_tool_bridge:^1.0@beta
ddev drush en -y display_builder_tools mcp_server_tool_bridge

Then create an account for the agent and register the server in your agent, see the Display Builder Tools README.

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.

Ask your assistant about Display Builder Basecoat

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
1
Tracked since
Nov 2026
Latest release
1 hour ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release Nov 26, 2026