Skip to main content

Place Items

Align and justify items within a container.

Import

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

Properties

ObjectNative properties
place.items_center{ alignItems: 'center',
justifyContent: 'center' }
place.items_stretch{ alignItems: 'stretch',
justifyContent: 'stretch' }
place.items_start{ alignItems: 'flex-start',
justifyContent: 'flex-start' }
place.items_end{ alignItems: 'flex-end',
justifyContent: 'flex-end' }
place.items_between{ alignItems: 'center',
justifyContent: 'space-between' }
place.items_around{ alignItems: 'center',
justifyContent: 'space-around' }
place.items_evenly{ alignItems: 'center',
justifyContent: 'space-evenly' }