8.0.0

Flex

This kit is used to build most of the complex interfaces. The Flex Kit is used the same way flex box is used.

!!!Attention these props will be deprecated in the future please use new props in their place
  • horizontal - Will be replaced with justify
  • vertical - Will be replaced with align
  • spacing - Will be removed. Use justify
  • Default


    Prop
  • orientation | Type: String | Values: row | column
  • Inline


    Prop
  • inline | Type: Boolean

  • By default this prop is false which sets the flex container to take up the full width of its parent container. When the prop is set to true the flex container sets its width to be the same size as the containing items.

  • Reverse


    Prop
  • reverse | Type: Boolean

  • When set to true this prop will reverse the order of items in the flex container.

  • Wrap


    Prop
  • wrap | Type: Boolean

  • When set to true this prop will move the next item in flex container to a new line if there is no more room.

  • Spacing


    Prop

    ATTENTION - the spacing prop will be deprecated & renamed in the future.

  • Deprecated Prop: spacing | Type: String | Values: none | around | evenly | between

  • New Prop: justify | Type: String | Values: none | around | evenly | between

  • Justify


    Prop

    ATTENTION - the horizontal prop will be deprecated & renamed in the future.

  • Deprecated Prop: horizontal | Type: String | Values: left | center | right | stretch | none

  • New Prop: justify | Type: String | Values: start | center | end | | none

  • Align


    Prop

    ATTENTION - the vertical prop will be deprecated & renamed in the future.

  • Deprecated Prop: vertical | Type: String | Values: top | center | bottom | stretch | baseline | none

  • New Prop: align | Type: String | Values: start | center | end | stretch | baseline | none

  • Gap


    Prop
  • gap | row_gap | rowGap | column_gap | columnGap | Type: String | Values: xs | sm | md | lg | xl | none

  • Setting the gap prop sets the rowgap || rowGap and the columngap || columnGap props to the same size and creates equal space within a flex container.

  • Setting the row_gap || rowGap prop creates space between rows in a flex container.

  • Setting the column_gap || columnGap prop creates space between columns in a flex container.

  • Flex Item



    UI Samples using Flex Kit

    Get the full picture. See how this kit is used in our samples.