--- title: Media Object layout: docs theme: library doc-tab: layout doc-subtab: media-object breadcrumb: - home - documentation - layout - layout-media meta: variables: true --- {% capture media_example %}

John Smith @johnsmith 31m
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin ornare magna eros, eu pellentesque tortor vestibulum ut. Maecenas non massa sem. Etiam finibus odio quis feugiat facilisis.

{% endcapture %} {% capture media_bis_example %}

{% endcapture %} {% capture media_nested_example %}

Barbara Middleton
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis porta eros lacus, nec ultricies elit blandit non. Suspendisse pellentesque mauris sit amet dolor blandit rutrum. Nunc in tempus turpis.
Like · Reply · 3 hrs

Sean Brown
Donec sollicitudin urna eget eros malesuada sagittis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Aliquam blandit nisl a nulla sagittis, a lobortis leo feugiat.
Like · Reply · 2 hrs

Vivamus quis semper metus, non tincidunt dolor. Vivamus in mi eu lorem cursus ullamcorper sit amet nec massa.
Morbi vitae diam et purus tincidunt porttitor vel vitae augue. Praesent malesuada metus sed pharetra euismod. Cras tellus odio, tincidunt iaculis diam non, porta aliquet tortor.

Kayli Eunice
Sed convallis scelerisque mauris, non pulvinar nunc mattis vel. Maecenas varius felis sit amet magna vestibulum euismod malesuada cursus libero. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Phasellus lacinia non nisl id feugiat.
Like · Reply · 2 hrs

{% endcapture %}

The media object is a UI element perfect for repeatable and nestable content.

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

You can include any other Bulma element, like inputs, textareas, icons, buttons… or even a navbar.

{% include docs/elements/snippet.html content=media_bis_example more=true %} {% include docs/elements/anchor.html name="Nesting" %}

You can nest media objects up to 3 levels deep.

{% include docs/elements/snippet.html content=media_nested_example horizontal=true more=true %}