Why Twig Falls Short: Rethinking Drupal Theming for the Modern Web
- Source: Twig Ain't It: Why Drupal's Theming Needs a Rethink in the Modern Web Era by Jay Callicott (30 Aug 2025)
Jay Callicott, a veteran Drupal themer and maintainer of the DrupalX starter kit, critiques Drupal’s reliance on Twig for front-end theming. While acknowledging Twig’s adequacy for experienced developers, he argues it lags behind modern frameworks like React, Vue, and Svelte in delivering dynamic, immersive experiences. Even with innovations such as Single Directory Components, improvements feel incremental rather than transformative. His concern is that Drupal’s theming system risks stagnation and fails to attract new developers inspired by modern toolchains.
Callicott expresses cautious optimism about Drupal’s upcoming Experience Builder but warns against creating a “Frankenstein” mix of PHP and JavaScript. Instead, he advocates for embracing Drupal’s role as an API-first CMS, doubling down on strengths like content modeling and extensibility. In his view, competing with headless platforms such as Contentful or Strapi requires Drupal to strengthen its API layer rather than cling to a monolithic theming approach. He invites community discussion on whether Drupal theming should evolve toward a headless future.


