logo

Steeze UI

Flex

Layout

Flexible Box Layout

Quickstart #

<script>
  import { Flex } from "@steeze-ui/components"
</script>

<Flex justify="center" align="center">
	Your Items
</Flex>

API Reference #

PropertyTypeDefault
display FlexDisplay 'flex'
direction FlexDirection 'row'
justify FlexJustifyContent 'flex-start'
align FlexAlignItems 'flex-start'
wrap FlexWrap 'nowrap'
flow FlexFlow null
gap String null
shrink Number 1
grow Number 0
basis String 'auto'
* * -
MIT Licensed