Skip to main content

Height

Control the height of elements.

Import​

src/screens/Component.js
import { h } from "nativeflowcss";

Properties​

ObjectNative Properties
h.h_0{ height: 0 }
h.h_1{ height: 4 }
h.h_2{ height: 8 }
h.h_3{ height: 12 }
h.h_4{ height: 16 }
h.h_5{ height: 20 }
h.h_6{ height: 24 }
h.h_7{ height: 28 }
h.h_8{ height: 32 }
h.h_9{ height: 36 }
h.h_10{ height: 40 }
h.h_11{ height: 44 }
h.h_12{ height: 48 }
h.h_14{ height: 56 }
h.h_16{ height: 64 }
h.h_20{ height: 80 }
h.h_24{ height: 96 }
h.h_28{ height: 112 }
h.h_32{ height: 128 }
h.h_36{ height: 144 }
h.h_40{ height: 160 }
h.h_44{ height: 176 }
h.h_48{ height: 192 }
h.h_52{ height: 208 }
h.h_56{ height: 224 }
h.h_60{ height: 240 }
h.h_64{ height: 256 }
h.h_72{ height: 288 }
h.h_80{ height: 320 }
h.h_96{ height: 384 }

Custom Heights​

Custom properties are usually rendered using _(customValue)

Height in React Native does not support % unit as of now

ObjectNative Properties
h.h_(customValue){ height: customValue }