Skip to header Skip to main navigation Skip to main content Skip to footer
Cookies UI
Site branding
Alaa Haddad - Drupal Expert
Consultant • Architect • Developer • Themer - Expert Drupal Solutions
Main navigation
Alaa Haddad Offers Exceptional Drupal Custom Theming and Modules in Austin TX Alaa Haddad - Drupal Expert
  • Professional Profile
  • Drupal Services
    • Drupal Development
    • Drupal Developer
    • Drupal Themer
    • Drupal Architect
    • Drupal Consultant
  • My Drupal Modules & Themes
      • Cloudflare Purge
      • Solo Copy Blocks
      • W3CSS Paragraphs
      • Paragraphs Bundles
      • Acquia Purge Varnish
      • Reference Blocked Users
      • Module Matrix
      • Paragraphs Bundles Import
      • Selectify
      • Solo Utilities
      • Utilikit
      • Solo
      • Amun
      • Anhur
      • Amunet
      • W3CSS Theme
      • 3D Carousel
      • 3D FlipBox
      • Accordion
      • Carousel
      • Hero
      • Lightbox
      • Parallax
      • Reveal
      • Slideshow
      • Tabs
  • Blog
  • Videos
  • Contact
  • Hire Me (opens in new tab)

Utilikit (Drupal Module)

Breadcrumbs

Breadcrumb

  • Home
  • Drupal Modules
  • Utilikit (Drupal Module)

Main page content

Alaa Haddad, professional Drupal developer based in Austin, TX   Alaa Haddad
  11:00 PM CDT, Sun September 13, 2026
Share

Utilikit is a zero-build, utility-first CSS framework for Drupal that generates classes such as uk-pd--20 or uk-bg--ff0000-50 on demand, in three rendering modes, instead of shipping a fixed stylesheet of preset values. It requires Drupal 11.2 or 12 — not Drupal 10, and that omission is deliberate.

Requirements

Utilikit requirements, from utilikit.info.yml and composer.json
RequirementValue
Drupal core^11.2 || ^12
PHP>=8.1
DependenciesNone declared — no core or contributed dependencies
Configuration route/admin/config/utilikit/settings
Permissionsadminister utilikit (restricted), access utilikit reference, use utilikit update button

Why Drupal 10 is not supported

This is a case where the honest requirement is narrower than "works on the last three majors." Utilikit's rendering code calls renderInIsolation(), which replaced the removed renderPlain() starting in Drupal 10.3, and it reads the RequirementSeverity enum, which does not exist before Drupal 11.2. There is no single expression of core support that serves both Drupal 10 and Drupal 12 correctly, so the module declares ^11.2 || ^12 rather than advertise a floor it would fatal on.

Three rendering modes

Rendering modes, verified against the utilikit:mode Drush command
ModeWhat it doesBest for
InlineJavaScript generates CSS in the browser as classes appear on the pageDevelopment, content editing, prototyping
StaticServer-side pre-generated CSS files, minimal JavaScript at runtimeProduction performance
HeadCSS stored in Drupal's State API and injected directly into <head> — no file writesRead-only or containerized hosting: Platform.sh, Pantheon, Acquia Cloud, Kubernetes

Switching modes from Drush cleans up the artifacts of the mode you're leaving and, when moving to Static or Head, generates CSS immediately for every class already discovered on the site.

The prefix system

Every utility class needs the utilikit base class plus a two-to-four letter prefix. The module's rule table defines 50 prefixes — padding (pd), margin (mg), width (wd) and height (ht) using the logical inlineSize/blockSize properties for automatic RTL support, background and text color (bg, tc) with alpha-channel support, flexbox and grid properties, transforms, and more — grouped under Box Model, Sizing, Positioning, Typography, Colors, Flexbox, Grid, Transform and Layout. Since a literal . is not valid in a CSS class name, decimal values use d in its place (uk-lh--1d5 for a line-height of 1.5), and percentages use a pr suffix (uk-wd--100pr for 100% width). All 50 prefixes accept responsive breakpoint variants (sm, md, lg, xl, xxl), individually toggleable in settings to control CSS size.

Drush commands

Eight commands cover the whole lifecycle, each with a short alias:

drush utilikit:generate     # uk-gen     — generate CSS from known classes
drush utilikit:scan         # uk-scan    — scan content for utility classes
drush utilikit:clear        # uk-clear   — reset all CSS and known-class state
drush utilikit:mode static  # uk-mode    — switch rendering mode (inline/static/head)
drush utilikit:status       # uk-status  — show configuration and statistics
drush utilikit:classes      # uk-classes — list discovered utility classes
drush utilikit:validate     # uk-validate — check for CSS generation errors
drush utilikit:cache-clear  # uk-cc      — clear Utilikit's own caches

Rate limiting

Static and Head mode CSS generation is capped at 60 requests per minute per IP and 5,000 classes per request, both defined as constants in the module's own service layer rather than left to Drupal's general flood control.

Sub-modules

Utilikit ships six optional sub-modules, enabled independently:

  • Utilikit Examples — ready-made component markup: cards, headers, forms.
  • Utilikit Playground — an interactive class builder with a live preview, at /admin/config/utilikit/playground.
  • Utilikit Help — contextual in-admin documentation.
  • Utilikit Test — the module's own test suite.
  • Utilikit CKEditor — a CKEditor 5 toolbar button for applying utility classes to the element being edited.
  • Utilikit AI — helps compose and diagnose utility classes using the AI module. It requires ai:ai, which currently caps this one sub-module at Drupal 11 — it will widen to Drupal 12 once its AI dependency does.

Installation

composer require drupal/utilikit
drush en utilikit
drush cr

Then visit /admin/config/utilikit/settings, choose a rendering mode, and enable whichever sub-modules you need.

Common questions

Does Utilikit work on Drupal 10?

No. It requires ^11.2 || ^12, because it depends on the renderInIsolation() method and the RequirementSeverity enum, neither of which exists on Drupal 10.

What is the settings page path?

/admin/config/utilikit/settings — note the trailing /settings; the base /admin/config/utilikit path is not the settings form.

Do I need a build step, like Tailwind's CLI?

No. Inline mode generates CSS in the browser at runtime; Static and Head modes pre-generate it server-side through Drush or automatically on content save. There is no Node.js or webpack step at any point.

Which mode should I use in production?

Static, for most sites — pre-generated, cacheable CSS with minimal JavaScript. Head mode is the one to reach for specifically when your hosting has a read-only filesystem.

Does every sub-module support Drupal 12?

Five of the six do. Utilikit AI is capped at Drupal 11.2 until its own AI-module dependency adds Drupal 12 support upstream.

Need a utility system built into your Drupal theme?

Utilikit is free and GPL-licensed, like the rest of my contributed work. If you want it wired into an existing theme, a Drupal 10 site moved to 11 or 12 so it can run, or a component library built on top of it, that is my day job. It pairs naturally with Paragraphs Bundles for component-based pages, and with Selectify and Module Matrix, two other modules built the same dependency-light way.

Read about my Drupal services, see what a Drupal themer brings to a project, or get in touch.

Utilikit
Slide 1 of 27
Acquia Purge Varnish - API V2 (Drupal Module)
Slide 2 of 27
Amun - W3CSS Sub-Theme (Drupal Theme)
Slide 3 of 27
Amunet - W3CSS Sub-Theme (Drupal Theme)
Slide 4 of 27
Anhur - W3CSS Sub-Theme (Drupal Theme)
Slide 5 of 27
Cloudflare Purge (Drupal Module)
Slide 6 of 27
Module Matrix (Drupal Module)
Slide 7 of 27
Paragraphs Bundles (Drupal Module)
Slide 8 of 27
Paragraphs Bundles Import (Drupal Module)
Slide 9 of 27
Reference Blocked Users (Drupal Module)
Slide 10 of 27
Selectify (Drupal Module)
Slide 11 of 27
Solo (Drupal Theme)
Slide 12 of 27
Solo Copy Blocks (Drupal Module)
Slide 13 of 27
Solo Utilities (Drupal Module)
Slide 14 of 27
Utilikit (Drupal Module)
Slide 15 of 27
Views 3D Carousel (Drupal Module)
Slide 16 of 27
Views 3D FlipBox (Drupal Module)
Slide 17 of 27
Views Accordion (Drupal Module)
Slide 18 of 27
Views Carousel (Drupal Module)
Slide 19 of 27
Views Hero (Drupal Module)
Slide 20 of 27
Views Lightbox (Drupal Module)
Slide 21 of 27
Views Parallax (Drupal Module)
Slide 22 of 27
Views Reveal (Drupal Module)
Slide 23 of 27
Views Slideshow (Drupal Module)
Slide 24 of 27
Views Tabs (Drupal Module)
Slide 25 of 27
VVJ Core (Drupal Module)
Slide 26 of 27
W3CSS Paragraphs (Drupal Module)
Slide 27 of 27
W3CSS Theme (Drupal Theme)
1 of 27

Our mission is to make Drupal more accessible and user-friendly, empowering businesses of all sizes, especially small enterprises with powerful tools that streamline content customization and enhance digital experiences.

Need help with your Drupal project? Hire Me through Flash Web Center, LLC.

Search

The Drupal 11 Module and Theme Stack, With Versions Checked

ARIA Live Regions in Drupal 11: What Core Does, What You Add

Drupal Architect: The Decisions Expensive to Reverse

Drupal Services: Development, Theming, Upgrades | Austin TX

Paragraphs Bundles

Drupal Module - Paragraphs Bundles

Drupal Theme - Solo

Drupal Theme - Solo

Drupal Work List - Drupal Work

Reference Blocked Users (Drupal Module)

Solo Utilities (Drupal Module)

Views Hero (Drupal Module)

Solo (Drupal Theme)

Paragraphs Bundles Import (Drupal Module)

Drupal Theme - W3CSS Theme

Drupal Theme - W3CSS Theme

Drupal Module - W3CSS Paragraphs

Drupal Module - W3CSS Paragraphs

Inspiration

Inspiration is the fuel that powers our creative engine, often coming from our surroundings, experiences, or the works of others. It's that magical moment when something clicks inside your brain, and you suddenly see a path forward that you hadn't noticed before. Inspiration can strike at any time, providing the motivation and energy needed to explore new possibilities and bring your ideas to life.

Unique Ideas

Unique Ideas

Unique ideas are the seeds of innovation, representing original thoughts or concepts that stand out from the usual. They're the sparks that ignite the process of creating something new and different, often leading to unexpected and groundbreaking solutions or products. Whether in art, science, business, or technology, unique ideas challenge the status quo and pave the way for progress.

Brainstorming

Brainstorming

Brainstorming is a creative group activity designed to generate a large number of ideas or solutions to a problem. It's a free-flowing and open-ended discussion where every suggestion is welcomed and considered, no matter how outlandish it may seem. Brainstorming encourages thinking outside the box, fostering an environment where creativity and collaboration lead to innovative solutions.

Planning

Planning

Planning is the blueprint for turning your ideas into reality. It involves setting goals, outlining steps, and organizing resources in a way that makes achieving your objectives possible. Good planning considers potential challenges and opportunities, making it easier to navigate the journey from concept to completion. It's about preparing the groundwork so that your projects can grow and flourish.

Drupal Developer

A Drupal Developer stands as the technical powerhouse behind dynamic websites, wielding expertise in PHP, custom module development, and Drupal's sophisticated API ecosystem. This role transforms business requirements into functional, secure, and scalable web solutions that power everything from small business sites to enterprise platforms serving millions of users. A Drupal Developer's expertise spans the entire development lifecycle—from architecting custom modules and integrating third-party services to optimizing performance and ensuring security compliance. Discover the complete guide to Drupal Developer skills, career paths, and hiring strategies.

Drupal Themer

A Drupal Themer serves as the artistic craftsperson who transforms wireframes and design mockups into pixel-perfect, accessible, and responsive user experiences using Twig templates, CSS, and JavaScript. This specialized role bridges the gap between design vision and technical implementation, ensuring every website not only looks exceptional but performs flawlessly across all devices and meets WCAG accessibility standards. A Drupal Themer's work encompasses the entire front-end ecosystem—from creating custom theme architectures and optimizing Core Web Vitals to implementing complex responsive designs and ensuring seamless integration with Drupal's rendering system. Explore the comprehensive guide to Drupal Themer expertise, theming best practices, and career advancement.

Drupal Architect

A Drupal Architect emerges as the strategic visionary of web construction, armed with encyclopedic knowledge of enterprise architecture patterns, infrastructure design, and Drupal's extensive technological ecosystem. This senior role operates at the highest technical level, making critical decisions that determine whether complex implementations scale successfully or collapse under real-world demands. A Drupal Architect's responsibilities begin long before development starts—during strategic planning phases where the foundation for secure, performant, and maintainable systems is established through careful evaluation of technology stacks, integration strategies, and scalability requirements. Learn about Drupal Architect skills, enterprise architecture strategies, and career progression to principal roles.

Footer menu

  • Contact
  • Professional Resume
  • Resume Summary
  • Technical Skills
  • Privacy Policy
  • Terms & Conditions
  • Search
  • Login
  • Sitemap

Copyright © 2026 Flash Web Center, LLC - All rights reserved

Developed & Designed by Alaa Haddad