Sizing
max-height
Utilities for setting the maximum height of an element.
Quick reference
70 of 74 classes apply on React Native
max-height: calc(var(--spacing) * 0.5);
max-height: var(--spacing);
max-height: calc(var(--spacing) * 1.5);
max-height: calc(var(--spacing) * 2);
max-height: calc(var(--spacing) * 2.5);
max-height: calc(var(--spacing) * 3);
max-height: calc(var(--spacing) * 3.5);
max-height: calc(var(--spacing) * 4);
max-height: calc(var(--spacing) * 5);
max-height: calc(var(--spacing) * 6);
max-height: calc(var(--spacing) * 7);
The React Native column is what AstraWind resolves each class to, computed live on this page with the current color scheme. Classes with no native equivalent are accepted without effect, and AstraWind warns about them in development. See
Compatibility.