Media

You can use the Media component to display images scaled to a specific aspect ratio. The default included aspect ratios are 16-9, 4-3, and 1-1. You can add more by either using the react-md-media-aspect-ratio mixin, or updating the md-media-aspect-ratios variable with additional values.

The Media component will scale to whatever the size of its container is and maintain the aspect ratio.

Something from unsplash.it

Adipisicing officia nisi excepteur id in tempor amet id nisi consequat. Est exercitation minim consectetur sit non commodo excepteur mollit fugiat ipsum. Eiusmod amet sint quis ea nostrud exercitation sint ipsum commodo consequat cillum nisi non anim.

Something from unsplash.it

Wow. Amazing.

Nulla proident est ea consequat aliqua fugiat veniam exercitation deserunt. Consequat veniam amet ut consectetur proident sunt excepteur cillum aute excepteur Lorem sint anim. Eiusmod amet esse id magna ipsum incididunt cupidatat ut qui cupidatat voluptate. Sit nisi anim cupidatat commodo ea officia aute nulla occaecat. Pariatur elit elit aliqua ullamco laborum ut laborum veniam quis deserunt eiusmod dolore id exercitation.

Something from unsplash.it

Reprehenderit consectetur veniam magna consectetur id magna. Proident laboris pariatur duis labore ullamco eu ea est voluptate pariatur. Quis exercitation et velit consequat. Sunt sint id et pariatur sunt pariatur. Velit enim in et aliqua veniam aliqua et.

By default, img, iframe, svg, video, embed, and object elements will be scaled correctly within a Media component. These defaults can be changed by updating the md-media-embedded-selectors.

The MediaOverlay component can even be used above videos, even though that might not really be the best idea.

A chemistry set with material design colors flowing into a text editor.

Archer