1. Collections Component Guide
  2. Image card
  3. Without an image
Image card example

Without an image

Despite the name of the component, it is possible to have it display without an image.

How it looks (preview)

Deputy director for Parks and Small Trees

How to call this example

<%= render "govuk_publishing_components/components/image_card", {
  href: "/no-valid-links-here",
  heading_text: "John McJohnson",
  description: "Deputy director for Parks and Small Trees"
} %>