Skip to main content

Max Height

Limit the maximum height of elements.

Import​

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

Properties​

ObjectNative Properties
h.max_0{ maxHeight: 0 }
h.max_1{ maxHeight: 4 }
h.max_2{ maxHeight: 8 }
h.max_3{ maxHeight: 12 }
h.max_4{ maxHeight: 16 }
h.max_5{ maxHeight: 20 }
h.max_6{ maxHeight: 24 }
h.max_7{ maxHeight: 28 }
h.max_8{ maxHeight: 32 }
h.max_9{ maxHeight: 36 }
h.max_10{ maxHeight: 40 }
h.max_11{ maxHeight: 44 }
h.max_12{ maxHeight: 48 }
h.max_14{ maxHeight: 56 }
h.max_16{ maxHeight: 64 }
h.max_20{ maxHeight: 80 }
h.max_24{ maxHeight: 96 }
h.max_28{ maxHeight: 112 }
h.max_32{ maxHeight: 128 }
h.max_36{ maxHeight: 144 }
h.max_40{ maxHeight: 160 }
h.max_44{ maxHeight: 176 }
h.max_48{ maxHeight: 192 }
h.max_52{ maxHeight: 208 }
h.max_56{ maxHeight: 224 }
h.max_60{ maxHeight: 240 }
h.max_64{ maxHeight: 256 }
h.max_72{ maxHeight: 288 }
h.max_80{ maxHeight: 320 }
h.max_96{ maxHeight: 384 }

Custom Max Heights​

Custom properties are usually rendered using _(customValue)

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

ObjectNative Properties
h.max_(customValue){ maxHeight: customValue }