## # Media

NMedia

Media component is a responsive container for images, videos, iframes etc.

Name | Type | Default | Description
--- | --- | --- | ---
ratio | [Number, String] | 1 | Aspect ratio Set to 0 to contain by parent height instead
tag-name | String | figure | HTML tag
width | String | -- | Width constraint
avatar | Boolean | false | Render as a circular avatar
caption | String | -- | Caption or copyright notice

### # Responsive iFrame with Aspect Ratio

### # Responsive Square Image

### # Responsive Image with Aspect Ratio

### # Avatar