1. Collections Component Guide
  2. Topic list
  3. Small version
Topic list example

Small version

A version of the component with a smaller font size and reduced vertical spacing.

How it looks (preview)

How to call this example

<%= render "components/topic-list", {
  small: true,
  items: [
    {
      text: "Environmental taxes, reliefs and schemes for businesses",
      path: "/green-taxes-and-reliefs"
    },
    {
      text: "Aggregates Levy: register or change your details",
      path: "/guidance/aggregates-levy-register-or-change-your-details"
    }
  ],
  see_more_link: {
    text: "See more and more and more",
    path: "/more"
  }
} %>