Drupal is a registered trademark of Dries Buytaert
cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8). editoria11y 2.2.22 Minor update available for module editoria11y (2.2.22). ai 1.2.13 Minor update available for module ai (1.2.13). ai 1.3.2 Minor update available for module ai (1.3.2). moderated_content_bulk_publish 2.0.51 Minor update available for module moderated_content_bulk_publish (2.0.51). moderated_content_bulk_publish 2.0.50 Minor update available for module moderated_content_bulk_publish (2.0.50). editoria11y 2.2.21 Minor update available for module editoria11y (2.2.21). eca 3.1.0 Minor update available for module eca (3.1.0). sophron 3.1.1 Minor update available for module sophron (3.1.1). ai 1.3.1 Minor update available for module ai (1.3.1). seven 2.0.0-beta6 New beta version released for theme seven (2.0.0-beta6).

SDX React Base is a hidden base theme that provides React component implementations for standard Drupal theme hooks. It serves as the foundation for building React-powered Drupal themes with the SDX Engine, so you don't have to re-implement common templates from scratch.

Set base theme: sdx_react_base in your theme's .info.yml and start building. All 50+ template overrides are inherited automatically.

Features

Template overrides

  • 50+ Drupal theme hooks implemented as React components
  • Form elements: input, textarea, select, checkboxes, radios, datetime, details, fieldset, vertical tabs
  • Block system: generic block + specific overrides for page title, breadcrumb, messages, menu blocks
  • Views: views-view, views-view-table, views-view-unformatted, views-mini-pager
  • Navigation: menu, breadcrumb, pager, local tasks, local actions
  • Administration: status-report, system-modules, system-themes-page, admin-page, confirm-form
  • Fields: field, field-multiple-value-form
  • Utility: table, image, links, dropbutton, page-title

SPA shell

  • BaseLayout component with region rendering and content area
  • Toast notification system for Drupal status messages
  • Confirm modal portal for entity delete operations
  • ComponentRegistryProvider for automatic template resolution

Shared components

  • SidePanel: dual-mode component for content display and Drupal form loading via AJAX
  • useDrupalForm: hook encapsulating AJAX form handling, CSRF tokens, multi-step forms, and response parsing
  • ErrorBoundary: graceful error display with retry and component stack logging
  • useFocusTrap: focus trap hook for modals and panels
  • Select: native and styled select component
  • TagInput: pill-based autocomplete input
  • DropdownMenu: accessible dropdown menu
  • BlockShell: block wrapper with contextual links support

Code quality

  • Full TypeScript with proper interfaces and typed hooks
  • All imports use SDX aliases (@sdx/*, @theme:sdx_react_base/*), no relative paths
  • All user-facing strings use Drupal's t() translation function
  • Accessibility attributes throughout (aria-modal, aria-label, role, focus management)

How It Works

Extend the base theme in your own theme's .info.yml:

name: 'My Admin Theme'
type: theme
engine: sdx
base theme: sdx_react_base
dependencies:
  - sdx:sdx
  - sdx:sdx_react
  - sdx:sdx_typescript
  - sdx_engine:sdx_engine

Your theme inherits all template overrides. Override any template by creating a same-named file in your theme's templates/ directory. The SDX build pipeline handles the full inheritance chain automatically.

Additional Requirements

  • Drupal 10.3+ or 11
  • PHP 8.3+
  • SDX core module with sdx_react, sdx_typescript, sdx_sass, and sdx_router enabled
  • SDX Engine
  • Node.js 18+ for building components
  • sdx_ssr (included in SDX) for server-side rendering
  • SDX Aurora as a reference implementation of a full admin theme built on this base

Supporting this Theme

Report bugs and feature requests in the issue queue.

Part of the SDX ecosystem.

Community Documentation

- Coming Soon -

Activity

Total releases
1
First release
Apr 2026
Latest release
21 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.0.0-alpha1 Pre-release Apr 11, 2026