Install
Works with Drupal: ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
First beta of SDC Critical CSS for Drupal 10 and 11.
Inlines selected global stylesheets and above-the-fold Single-Directory Components whose CSS is attached to the current page. Detection uses Drupal's library registry (not a theme folder regex), so nested component directories, contrib themes, hyphens, and underscores work. One site-wide checklist; components not on the page are skipped. The top content limit is a per-page budget, not a per-content-type setup. No Node build step.
Tested with Drupal CMS Canvas site templates (Summit, Convene, CareSphere, Pulse), a custom theme using Mercury Editor, and non_critical_css for async remaining CSS.
API and settings may still change. Not covered by security advisories.