--- title: Box layout: documentation doc-tab: elements doc-subtab: box breadcrumb: - home - documentation - elements - elements-box meta: colors: false sizes: false variables: true --- {% capture box_example %}
I'm in a box.
{% endcapture %} {% capture box_form_example %}
{% endcapture %} {% capture box_card_example %}
Image

John Smith @johnsmith 31m
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean efficitur sit amet massa fringilla egestas. Nullam condimentum luctus turpis.

{% endcapture %}

The box element is a simple container with a white background, some padding, and a box shadow.

{% include elements/snippet.html content=box_example %}

Because it acts as a container, you can easily include other components, like form elements:

{% include elements/snippet.html content=box_form_example more=true %}

Or a media object:

{% include elements/snippet.html content=box_card_example more=true %} {% include components/variables.html type='element' %}