> For the complete documentation index, see [llms.txt](https://vuido.mimec.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vuido.mimec.org/built-in-components/containers/box.md).

# Box

A container which arranges all children vertically or horizontally.

## Attributes

### horizontal

type: Boolean

Whether the box arranges its children vertically or horizontally.

### padded

type: Boolean

Whether the box adds some padding between its children.

## Child Attributes

The following attributes can be added to child components to change the way they are handled by the box container.

### stretchy

type: Boolean

Whether the child stretches to fill available space.

## Example

```markup
<Box horizontal padded>
  <Button v-on:click="ok">OK</Button>
  <Button v-on:click="cancel">Cancel</Button>
</Box>
```
