Overview
Usemin-h-* to set a baseline height while keeping content free to grow.
| Class | Value | Usage |
|---|---|---|
.min-h-full | 100% | Keep a surface at least as tall as its parent |
.min-h-auto | auto | Let the browser calculate the minimum height |
.min-h-screen | 100vh | Ensure a section reaches the viewport height |
.min-h-px | 1px | Preserve a hairline minimum |
.min-h-3xs | 16rem / 256px | Small card floor |
.min-h-2xs | 18rem / 288px | Compact panel floor |
.min-h-xs | 20rem / 320px | Small section floor |
.min-h-sm | 24rem / 384px | Sidebar-height floor |
.min-h-md | 28rem / 448px | Reading panel floor |
.min-h-lg | 32rem / 512px | Standard feature floor |
.min-h-xl | 36rem / 576px | Taller feature floor |
.min-h-2xl | 42rem / 672px | Medium shell floor |
.min-h-3xl | 48rem / 768px | Section floor |
.min-h-4xl | 56rem / 896px | Large shell floor |
.min-h-5xl | 64rem / 1024px | Tall feature floor |
.min-h-6xl | 72rem / 1152px | Extra-tall shell floor |
.min-h-7xl | 80rem / 1280px | Largest shipped minimum |
Fractional min-heights
| Class | Value | CSS | Usage |
|---|---|---|---|
.min-h-1-2 | 50% | min-height: 50%; | Half of parent height as minimum |
.min-h-1-3 | 33.333% | min-height: 33.333%; | Third-height minimum |
.min-h-2-3 | 66.666% | min-height: 66.666%; | Two-thirds minimum |
.min-h-1-4 | 25% | min-height: 25%; | Quarter minimum |
.min-h-3-4 | 75% | min-height: 75%; | Three-quarters minimum |
Minimum Screen Height
Parent-Based Minimum Height
Best Practices
- Use
.min-h-screenfor page shells, hero sections, and empty-state layouts. - Use
.min-h-fullonly when a parent already establishes height. - Prefer min-height over fixed height when content length may change.
- Combine with
overflow-autowhen a minimum-height region may still need scroll control.
Related Utilities
Height
Fixed and viewport height helpers
Max Height
Bundled max-height utilities and semantic cap patterns
Layout
Display and overflow utilities for vertical layouts
Sizing
All sizing utilities overview

