# LayoutFlexColumn
LayoutFlexColumn divides a vertical space into 3 sections, where you can place contents at top, bottom and the remaining space.
paddingTop
: 5
paddingBottom
: 5
paddingLeft
: 5
paddingRight
: 5
gap
: 5
horizontalAlign
top + remain + bottom
top
remain
bottom
top + remain
top
remain
remain + bottom
remain
bottom
top + bottom
top
bottom
||
# Usage
- Place your contents inside 3 slots of
LayoutFlexColumntopremainbottom
- The content in the
remainslot will fill the remaining vertical space - Any content not wrapped in the
<template>tags will be placed in theremainslot - You may use all the 3 slots or just 2 of them
- When the height of the parent element is determined, you may add
layout-u-content-fill-heightutility class to the parent element to makeLayoutFlexColumnexpand vertically
😊
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
<LayoutFlexColumn padding-x="5" padding-y="5" gap="5" horizontal-align="center" style="border: 1px solid; min-height: 200px;" > <template #top> 😊 </template> <template #remain> <div style="background-color: #dddddd;"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </div> </template> <template #bottom> <button>👍</button> </template> </LayoutFlexColumn>
# Props
| Property | Description | Type | Default | Value |
|---|---|---|---|---|
| gap | gap size between slots | Number, String | 0 | spacing scale |
| horizontalAlign | horizontal align contents | String | stretch | left, center, right, stretch |