Skip to main content

Stack

<Stack /> is a flex box which can wrap children components.

Loading...

How to use

import { VStack } from '@vibrant-ui/components';

Properties

PropTypeDefaultDescription
direction(*)horizontal | vertical-Set flexDirection
spacingnumber-Set space between children components of Stack
overflowhidden | visible-Set property when overflows
widthnumber | auto | fit-content | max-content | min-content-Set width
minWidthnumber | auto | fit-content | max-content | min-content-Set minimum width
maxWidthnumber | auto | fit-content | max-content | min-content | none-Set maximum width
heightnumber | auto | fit-content | max-content | min-content-Set height
minHeightnumber | auto | fit-content | max-content | min-content-Set minimum height
maxHeightnumber | auto | fit-content | max-content | min-content | none-Set maximum height
positionabsolute | relative-Set position
topnumber | string-Set top space value of Stack
rightnumber | string-Set right space value of Stack
bottomnumber | string-Set bottom space value of Stack
leftnumber | string-Set left space value of Stack
zIndexnumber-Set z index of Stack
Previous
Spinner