Overview
Height utilities cover fixed size steps, fractions, and keyword heights in one suffix system.Examples
Using the size scale
Use the t-shirt height scale when you want a predictable fixed height for media blocks, panels, and feature shells.Using a percentage
Use fractional height utilities when height should be relative to a parent container instead of fixed to the t-shirt scale.Filling the available height
Useheight-full when an element should stretch to match the height of a parent that already defines its own height.
Matching the viewport
Useheight-screen when a page shell, hero, or empty-state layout should match the viewport height.
Resetting the height
Useheight-auto when height should fall back to the content instead of staying fixed or inherited from another rule.
Best Practices
- Use
height-fullonly when a parent already establishes height. - Use
height-screenfor full-view shells, splash sections, and empty states. - Use
height-<fraction>when the layout itself defines the parent height. - Use
height-autoto remove a fixed height and let content determine the block size.
Related Utilities
Width
Control element width
Min Height
Use matching minimum-height helpers

