Skip to main content

Min Width

Define the minimum width an element can have.

Import​

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

Properties​

ObjectNative Properties
w.min_0{ minWidth: 0 }
w.min_1{ minWidth: 4 }
w.min_2{ minWidth: 8 }
w.min_3{ minWidth: 12 }
w.min_4{ minWidth: 16 }
w.min_5{ minWidth: 20 }
w.min_6{ minWidth: 24 }
w.min_7{ minWidth: 28 }
w.min_8{ minWidth: 32 }
w.min_9{ minWidth: 36 }
w.min_10{ minWidth: 40 }
w.min_11{ minWidth: 44 }
w.min_12{ minWidth: 48 }
w.min_14{ minWidth: 56 }
w.min_16{ minWidth: 64 }
w.min_20{ minWidth: 80 }
w.min_24{ minWidth: 96 }
w.min_28{ minWidth: 112 }
w.min_32{ minWidth: 128 }
w.min_36{ minWidth: 144 }
w.min_40{ minWidth: 160 }
w.min_44{ minWidth: 176 }
w.min_48{ minWidth: 192 }
w.min_52{ minWidth: 208 }
w.min_56{ minWidth: 224 }
w.min_60{ minWidth: 240 }
w.min_64{ minWidth: 256 }
w.min_72{ minWidth: 288 }
w.min_80{ minWidth: 320 }
w.min_96{ minWidth: 384 }

Custom Min Widths​

Custom properties are usually rendered using _(customValue)

Min Width in React Native does not support % unit as of now

ObjectNative Properties
w.min_(customValue){ minWidth: customValue }