Skip to content
On this page

<TuiBox>

Creates flexbox-based box.

template
<Box
  :width="30"
  :height="20"
  borderStyle="double"
  justifyContent="center"
  flexDirection="column"
  alignItems="center"
>
  <Text>Hello world</Text>
</Box>

Aliases

<TuiBox> can be also referenced as:

  • <Box>
  • <div>

Released under the MIT License