ZUI includes a minimal set of utility classes for common layout and typography tasks. The philosophy is similar to Tailwind CSS — single-purpose classes you compose directly in HTML — but scoped to what ZUI actually needs rather than a full atomic CSS framework.

CSS layer

All utility classes live in the zui.utilities layer, which sits above zui.components. This means utilities always win over component styles when both apply to the same element, without needing !important.

@layer zui.base, zui.components, zui.utilities;

Utility categories

Theme

Copy this CSS to your project: