Figure example
Figure with caption
How it looks (preview)

The Lords Chamber
How to call this example
<%= render "govuk_publishing_components/components/figure", {
src: "https://assets.publishing.service.gov.uk/government/uploads/system/uploads/feature/image/54374/s630_the_lords_chamber.jpg",
alt: "An image of the lords chamber",
caption: "The Lords Chamber"
} %>