3.2
Frontend built with TailwindCSS
Official text (as TDRA published it)
Have you built your frontend using TailwindCSS classes?
Why it matters to your customers
The Design System's components are built on TailwindCSS classes, so a frontend built another way drifts from the sizes, colours and spacing the design system sets. Customers get a site that behaves differently from other federal sites, and can lose the contrast and responsive layout they need on a phone.
How to fix it
Build your frontend with TailwindCSS classes and the Design System's configuration, cutting back hand-written CSS that overrides it. Then scan again.
How we measure it
We look for Tailwind's --tw- variables and the share of utility classes in the markup (at least 25%), leaving out names Bootstrap also uses and counting Tailwind-only variants such as lg: and hover:.
The official guideline for this item