Box
Box is a layout component that provides a simple way to contain content.
Usage
<Box direction="column" align="center" justify="center" gap="medium">
<Text>Title</Text>
<Text>Subtitle</Text>
</Box>
Props
direction: The direction of the box. Can berow,column, orrow-reverseorcolumn-reverse.align: The alignment of the box. Can beflex-start,center,flex-end, orstretch.justify: The justification of the box. Can beflex-start,center,flex-end,space-between, orspace-around.gap: The gap between the children of the box. Can besmall,medium, orlarge.full: Whether the box should fill the entire parent.style: The style of the box.