Utility Layer
The utility layer provides single-purpose classes for common styling needs. It's loaded last so utilities always win over other layers.
Each section below covers a group of related utilities. Click through to see available classes, live demos, and usage guidance.
Typography
Text size, line height, font weight, font family, text decoration, alignment, overflow, wrapping, and whitespace.
Colors
Vibrant and neutral palettes, invertible semantic tokens, opacity, and dark mode variants.
Container
Container queries and why Axiom responds to available space, not the viewport.
Flexbox
Flex containers, direction, wrapping, alignment, sizing, grow, shrink, and order.
Grid
Grid columns, fluid grids, responsive columns, spanning, flow, alignment, and common patterns.
Spacing
Padding, margin, and gap using the mathematical size scale. Fixed and fluid variants.
Sizing
Width, height, min/max constraints, aspect ratios, and viewport units.
Images
Object fit, object position, and background image utilities.
Borders
Border sides, thickness, colors, opacity, radius, and removal.
Shadows
Multi-layer shadows, dark mode behavior, and customization.
Display & Position
Display modes and positioning schemes.
Overflow
Control content overflow on both axes or individually.
Transitions
Smooth transitions, speed modifiers, easing functions, and reduced motion.
Animations
Entrance effects, loading indicators, and animation variables.
Miscellaneous
Cursor utilities and other small helpers.