A
AstraWind
v0.2.0
System
Layout

top / right / bottom / left

Utilities for controlling the placement of positioned elements.

Quick reference

Every class applies on React Native
Class
Styles
React Native
-bottom-0
bottom: 0px;
bottom: 0
-bottom-0.5
bottom: calc(var(--spacing) * -0.5);
bottom: -2
-bottom-1
bottom: calc(var(--spacing) * -1);
bottom: -4
-bottom-1.5
bottom: calc(var(--spacing) * -1.5);
bottom: -6
-bottom-2
bottom: calc(var(--spacing) * -2);
bottom: -8
-bottom-2.5
bottom: calc(var(--spacing) * -2.5);
bottom: -10
-bottom-3
bottom: calc(var(--spacing) * -3);
bottom: -12
-bottom-3.5
bottom: calc(var(--spacing) * -3.5);
bottom: -14
-bottom-4
bottom: calc(var(--spacing) * -4);
bottom: -16
-bottom-5
bottom: calc(var(--spacing) * -5);
bottom: -20
-bottom-6
bottom: calc(var(--spacing) * -6);
bottom: -24
-bottom-7
bottom: calc(var(--spacing) * -7);
bottom: -28
Show all 400 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.