Media object


A media object should be used to display events or articles.

View example of the pattern media object

Circular

You can add an is-round state to the .p-media-object__image element to create a circular image style, which we recommend to be used for head shots of people. In order for this variant to work, the original image must be square.

View example of the pattern media object

Large

Use a large variant of the component to display details of a single object on a page.

View example of the pattern media object large

Import

To import just this component into your project, copy the snippet below and include it in your main Sass file.

@import 'patterns_media-object';

For more information see Customising Vanilla in your projects, which includes overrides and importing instructions.

Design

For more information view the media object design spec which includes the specification in markdown format and a PNG image.