Summary Card List example

With actions

How it looks (preview)

  1. value1
  2. value2

How to call this example

<%= render "components/summary_card_list", {
  title: "Title",
  rows: [
    {
      text: "value1"
    },
    {
      text: "value2"
    }
  ],
  summary_card_actions: [
    {
      label: "View",
      href: "#1"
    },
    {
      label: "Edit",
      href: "#2"
    }
  ]
} %>