A
AstraWind
v0.2.0
System
Sizing

height

Utilities for setting the height of an element.

Quick reference

140 of 146 classes apply on React Native
Class
Styles
React Native
h-0
height: 0px;
height: 0
h-0.5
height: calc(var(--spacing) * 0.5);
height: 2
h-1
height: var(--spacing);
height: 4
h-1.5
height: calc(var(--spacing) * 1.5);
height: 6
h-2
height: calc(var(--spacing) * 2);
height: 8
h-2.5
height: calc(var(--spacing) * 2.5);
height: 10
h-3
height: calc(var(--spacing) * 3);
height: 12
h-3.5
height: calc(var(--spacing) * 3.5);
height: 14
h-4
height: calc(var(--spacing) * 4);
height: 16
h-5
height: calc(var(--spacing) * 5);
height: 20
h-6
height: calc(var(--spacing) * 6);
height: 24
h-7
height: calc(var(--spacing) * 7);
height: 28
Show all 146 classes
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.