utilities15 categories192 groups1311 rules
Utilities
Value-driven and constant CSS utilities, paired withzRuntime for responsive prefixes, dark mode, opacity mixes, and interactive states.
Syntax Quick Reference
| Pattern | Example | Meaning |
|---|---|---|
class + --var | class="m" style="--m: 4" | Scaled by var(--spacing) |
[class] + --var | class="[m]" style="--m: 4px" | Raw CSS value without spacing scale |
class=val | class="p=4 bg=pink-500" | Runtime inline-var shorthand |
dark: | class="dark:bg" style="--dark-bg: #111" | Scoped to .dark ancestor |
/o | class="bg/o" style="--bg: red; --bg-o: 50%" | color-mix opacity modifier |
bp:class | class="md:m" style="--md-m: 8" | Breakpoint prefix (sm, md, lg, xl, 2xl) |
[prop]={val} | class="[writing-mode]={vertical-lr}" | Arbitrary CSS property via runtime |
Categories
| Category | Groups | Rules | Summary | Markdown |
|---|---|---|---|---|
| Layout | 23 | 158 | Display, positioning, insets, overflow, columns, object fit, visibility, and z-index. | |
| Flex & Grid | 24 | 162 | Flexbox direction, wrapping, grow/shrink, grid tracks, gaps, alignment, and ordering. | |
| Spacing | 3 | 51 | Scaled and raw margin, padding, and child spacing utilities. | |
| Sizing | 7 | 139 | Width, height, square size, and min/max dimension utilities. | |
| Typography | 31 | 150 | Font family, size, weight, text color, decoration, alignment, wrapping, and list styles. | |
| Backgrounds | 11 | 79 | Background colors, opacity mixes, gradients, images, attachment, clip, origin, position, repeat, and size. | |
| Borders | 11 | 234 | Border radius, width, color, style, dividers, and outline utilities. | |
| Effects | 18 | 84 | Box shadows, rings, inset rings, opacity, blend modes, and CSS masks. | |
| Filters | 19 | 37 | Element filters and backdrop filters (blur, brightness, contrast, grayscale, hue-rotate, invert, saturate, sepia). | |
| Tables | 4 | 12 | Table border collapse, border spacing, caption placement, and layout algorithm. | |
| Transitions & Animation | 6 | 24 | CSS animations and transition property, duration, delay, timing function, and behavior. | |
| Transforms | 10 | 40 | 2D/3D transforms: translate, rotate, scale, skew, perspective, transform origin, and backface visibility. | |
| Interactivity | 19 | 130 | Accent/caret colors, appearance, color scheme, cursor, pointer events, resize, scroll snap, touch action, and will-change. | |
| SVG | 5 | 9 | SVG fill, fill opacity, stroke, stroke opacity, and stroke width utilities. | |
| Accessibility | 1 | 2 | Forced-colors media adjustment utilities. |