Published dates example

With custom margin bottom

The component accepts a number for margin bottom from 0 to 9 (0px to 60px) using the GOV.UK Frontend spacing scale. By default, the component does not have a bottom margin.

How it looks (preview)

Updates to this page

Published 1st January 1990

How to call this example

<%= render "components/published_dates", {
  published: "1st January 1990",
  margin_bottom: 8
} %>