--- layout: documentation doc-tab: components doc-subtab: media-object --- {% include subnav-components.html %}

Media Object

The famous media object prevalent in social media interfaces, but useful in any context

{% include meta.html colors=false sizes=false variables=false %}

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

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.

{% 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 %}
{{media_example}}
{% highlight html %} {{media_example}} {% endhighlight %}

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

{% capture media_bis_example %}

{% endcapture %}
{{media_bis_example}}
{% highlight html %} {{media_bis_example}} {% endhighlight %}

Nesting

You can nest media objects up to 3 levels deep.

{% 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 %}
{{media_nested_example}}
{% highlight html %} {{media_nested_example}} {% endhighlight %}