Skip to content

Box

The Box component renders Bulma’s box element — a white padded container for grouping content.

This content is inside a box.

<Box>
This content is inside a box.
</Box>

A box with a custom background.

<Box class="has-background-primary-light">
A box with a custom background.
</Box>

Card title

A subtitle

<Box>
<p class="title is-5">Card title</p>
<p class="subtitle is-6">A subtitle</p>
<Button color="primary">Action</Button>
</Box>
PropTypeDefaultDescription
classstringExtra CSS classes on the div.box.
idstringid attribute on the div.box.
...*Any other HTML div attributes.