# subscription/2.4.0/src/dashboard/BuildCards.js

Subscriptions for WooCommerce with Stripe Recurring Payments, version 2.4.0. 45 lines.

- Page: https://pluginprobe.com/plugins/subscription/2.4.0/code/src/dashboard/BuildCards.js
- Raw: https://pluginprobe.com/plugins/subscription/2.4.0/raw/src/dashboard/BuildCards.js
- Modified: 2026-09-14T12:17:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/subscription/2.4.0/code/src/dashboard/BuildCards.js#L10-L20`.

```javascript
/**
 * The three cards along the bottom.
 */

import { __ } from "@wordpress/i18n";
import Icon from "./Icon";
import ProBadge from "./ProBadge";

export default function BuildCards({ cards }) {
  return (
    <section className="subscrpt-build">
      <h2 className="subscrpt-heading">{__("Build with WPSubscription", "subscription")}</h2>
      <p className="subscrpt-sub">{__("Everything you need to grow recurring revenue.", "subscription")}</p>

      <div className="subscrpt-build__grid">
        {cards.map((card) => (
          <a
            key={card.tone}
            className={`subscrpt-build__card is-${card.tone}`}
            href={card.link.url}
            target={card.link.external ? "_blank" : undefined}
            rel={card.link.external ? "noreferrer noopener" : undefined}
          >
            <span className="subscrpt-build__icon">
              <Icon name={card.icon} size={18} />
            </span>
            <span className="subscrpt-build__eyebrow">
              {card.eyebrow}
              {/* A real space, so the card's name reads "Insight Pro" and not "InsightPro". */}
              {card.pro && " "}
              {card.pro && <ProBadge />}
            </span>
            <span className="subscrpt-build__title">{card.title}</span>
            <span className="subscrpt-build__text">{card.text}</span>
            <span className="subscrpt-build__link">
              {card.link.label}
              {card.link.external ? <Icon name="external" size={12} /> : <span aria-hidden="true">→</span>}
            </span>
          </a>
        ))}
      </div>
    </section>
  );
}

```
