Pagination example
Next with items
How it looks (preview)
How to call this example
<%= render "govuk_publishing_components/components/pagination", {
next_page: {
href: "next-page"
},
items: [
{
number: 1,
href: "#",
current: true
},
{
number: 2,
href: "#"
},
{
number: 3,
href: "#"
}
]
} %>