Skip to content

Pricing Cards

Three rounded plan cards with emoji (Sprout, Bloom, Forest), a pill monthly/yearly toggle, mint tick lists, and the featured plan filled in lavender with a tilted butter “Most loved” sticker.

soft-flat/section/pricing-cards
Open ↗

Source

"use client";

import { useState } from "react";
import { Check } from "lucide-react";
import { cn } from "@/lib/utils";

export interface PricingCardsPlan {
  name: string;
  emoji: string;
  description: string;
  monthly: number;
  yearly: number;
  features: string[];
  cta: string;
  featured?: boolean;
}

export interface PricingCardsProps {
  eyebrow?: string;
  title?: string;
  plans?: PricingCardsPlan[];
  currency?: string;
  className?: string;
}

const DEFAULT_PLANS: PricingCardsPlan[] = [
  {
    name: "Sprout",
    emoji: "🌱",
    description: "For you and a few friends.",
    monthly: 0,
    yearly: 0,
    features: ["Up to 5 members", "3 boards", "Weekly view", "Mobile apps"],
    cta: "Start free",
  },
  {
    name: "Bloom",
    emoji: "🌸",
    description: "For growing small teams.",
    monthly: 8,
    yearly: 6,
    features: ["Unlimited boards", "Reminders & recurring tasks", "Guests for free", "Templates library"],
    cta: "Try Bloom free",
    featured: true,
  },
  {
    name: "Forest",
    emoji: "🌳",
    description: "For teams of teams.",
    monthly: 14,
    yearly: 11,
    features: ["Everything in Bloom", "Workload view", "Admin & SSO", "Priority support"],
    cta: "Talk to us",
  },
];

/** Three rounded plan cards with emoji, pill monthly/yearly toggle, and the featured plan filled in lavender with a “Most loved” sticker. */
export function PricingCards({
  eyebrow = "Pricing",
  title = "Simple plans that grow with you",
  plans = DEFAULT_PLANS,
  currency = "$",
  className,
}: PricingCardsProps) {
  const [yearly, setYearly] = useState(true);
  return (
    <section aria-labelledby="sf-pricing-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
      <div className="da-container">
        <div className="mx-auto max-w-2xl text-center">
          <p className="text-sm font-semibold text-da-primary">{eyebrow}</p>
          <h2
            id="sf-pricing-title"
            className="mt-3 font-da-display text-[clamp(2rem,4.5vw,3.25rem)] leading-[1.08] font-extrabold tracking-da-display text-balance"
          >
            {title}
          </h2>
          <div role="group" aria-label="Billing period" className="mx-auto mt-8 inline-flex rounded-da-pill bg-da-surface-2 p-1.5">
            {[
              { v: false, l: "Monthly" },
              { v: true, l: "Yearly · save 25%" },
            ].map((o) => (
              <button
                key={o.l}
                type="button"
                aria-pressed={yearly === o.v}
                onClick={() => setYearly(o.v)}
                className={cn(
                  "da-focus da-transition rounded-da-pill px-5 py-2 text-sm font-semibold",
                  yearly === o.v ? "bg-da-surface shadow-da-sm" : "text-da-muted-fg",
                )}
              >
                {o.l}
              </button>
            ))}
          </div>
        </div>
        <ul className="mx-auto mt-12 grid max-w-5xl gap-5 lg:grid-cols-3">
          {plans.map((p) => (
            <li key={p.name} className={cn("relative flex flex-col rounded-da-lg p-8", p.featured ? "bg-da-primary/12" : "bg-da-surface shadow-da-sm")}>
              {p.featured && (
                <span className="absolute -top-3 right-6 rotate-3 rounded-da-pill bg-da-warning px-3 py-1 text-xs font-bold text-da-warning-fg shadow-da-sm">
                  Most loved 💛
                </span>
              )}
              <span aria-hidden className="text-4xl">
                {p.emoji}
              </span>
              <h3 className="mt-3 font-da-display text-2xl font-extrabold">{p.name}</h3>
              <p className="mt-1 text-sm text-da-muted-fg">{p.description}</p>
              <p className="mt-6 flex items-baseline gap-1">
                <span className="font-da-display text-5xl font-extrabold tracking-da-display">
                  {currency}
                  {yearly ? p.yearly : p.monthly}
                </span>
                <span className="text-sm text-da-muted-fg">/ member / mo</span>
              </p>
              <ul className="mt-6 flex-1 space-y-2.5">
                {p.features.map((f) => (
                  <li key={f} className="flex items-center gap-2.5 text-[15px]">
                    <span aria-hidden className="grid size-5 shrink-0 place-items-center rounded-full bg-da-secondary text-da-secondary-fg">
                      <Check className="size-3" strokeWidth={3} />
                    </span>
                    {f}
                  </li>
                ))}
              </ul>
              <a
                href={`#${p.name.toLowerCase()}`}
                className={cn(
                  "da-focus da-transition mt-8 inline-flex h-12 items-center justify-center rounded-da-pill font-semibold hover:-translate-y-0.5",
                  p.featured ? "bg-da-primary text-da-primary-fg shadow-da-md" : "bg-da-surface-2 hover:bg-da-muted",
                )}
              >
                {p.cta}
              </a>
            </li>
          ))}
        </ul>
      </div>
    </section>
  );
}

export default PricingCards;

modules/soft-flat/section/pricing-cards/index.tsx

Props

PropTypeDefaultDescription
eyebrow / titlestring—Header.
plans{ name, emoji, description, monthly, yearly, features, cta, featured? }[]—Plans.
currencystring"$"Symbol.
classNamestring—Classes.

Other pricing variants in Soft Flat

Pricing in other art directions

Pricing Comparison

Full feature matrix: ruled table with plan headers (price + CTA, highlighted plan in yellow), ink group separator rows and check / dash / text values, horizontally scrollable on mobile.

BrutalistPricing

Pricing Single

Single-plan pricing card: giant price on a yellow panel, numbered feature grid on paper, full-width ink CTA, guarantee line and a rotated pink discount sticker.

BrutalistPricing

Pricing Slider

Usage-based pricing calculator: chunky range slider with a square yellow thumb, live per-unit and total price (volume tiers), included-features list and an ink CTA bar.

BrutalistPricing

Pricing Tiers

Three plans glued together in one ruled strip, the highlighted plan pops out in solid yellow with a rotated badge. Monthly/yearly toggle with discount chip, custom-price plan support.

BrutalistPricing

Pricing Credits

Pay-as-you-go pricing: four glass radio cards of recording-hour packs (tags like Popular / Best value) feeding a gradient summary card with price, per-hour cost, inclusions and CTA.

GlassPricing

Pricing Duo

Free vs paid in one glass panel: two plan headers with price and CTA over a shared feature table (checks, dashes, values); the paid column is tinted with a soft gradient and a gradient CTA.

GlassPricing

Pricing Frosted

Three frosted pricing cards with a pill billing toggle; the featured plan gets a gradient frame, gradient badge and gradient CTA and stands slightly taller. Per-seat units and custom pricing supported.

GlassPricing

Pricing Spotlight

Single-plan pricing: a wide glass card split into a gradient price block (plan, big price, CTA, sales link) and a two-column feature list with a money-back guarantee and customer wordmarks.

GlassPricing

Pricing Columns

Three quiet pricing columns with a segmented monthly/yearly control, per-seat units, and a featured plan lifted by a ring, soft shadow and an indigo hairline highlight on top.

MinimalPricing

Pricing Rows

Plans stacked as full-width horizontal rows (name + description, highlight chips, price, CTA), the featured one ringed in indigo, followed by an inverted ink enterprise strip.

MinimalPricing

Pricing Table

Full plan comparison table: four plan columns with price and CTA in the header, grouped feature rows with checks, dashes or values, featured column tinted; horizontally scrollable on small screens.

MinimalPricing

Pricing Usage

Seat-based pricing calculator: range slider for responders, four volume tiers with the active one highlighted, monthly/yearly toggle and a live estimated total panel with inclusions and CTA.

MinimalPricing

Pricing Columns

Three plan columns separated by hairlines (no cards): mono plan name, huge price, note, ruled feature list and a button; the featured plan has an ink button and a signal dot.

Mono CleanPricing

Pricing One

Single-price poster: a gigantic price set in the display face across the left, and on the right a short pitch, a two-column “included” list with en-dashes and an ink CTA; separated by a full-ink rule.

Mono CleanPricing

Pricing Table

Plain typographic comparison table: ink header rule, mono column heads, hairline rows, em-dash for absent features, and the featured column marked with a signal dot.

Mono CleanPricing

Pricing Toggle

Pricing as a ruled list: a text toggle “Monthly / Yearly (−20%)” with an underline on the active option, then one row per plan — name, blurb, price, arrow link — rows invert on hover.

Mono CleanPricing

Pricing Fees

Pay-as-you-go fee sheet: big per-method rates in bordered cells (4-up), then a “no hidden fees” checklist band.

Neo CorporatePricing

Pricing Matrix

Enterprise feature matrix: sticky-looking header row of plans, grouped rows with section headings, checks/dashes/values and a tinted featured column.

Neo CorporatePricing

Pricing Tiers

Three bordered tiers with a monthly/annual segmented toggle; the featured tier has a blue top bar and “Most popular” badge; enterprise shows “Custom”.

Neo CorporatePricing

Pricing Volume

Volume-based fee calculator: stepped slider of monthly payment volume, the blended rate tier highlighted in a tier table, and an estimated monthly fee vs. a typical 2.9% processor.

Neo CorporatePricing

Pricing Compare

Soft comparison table: rounded card, plan names in serif with prices, zebra rows in warm tints, sage check circles and dashes, highlighted featured column.

Organic SoftPricing

Pricing Single

One honest plan: a wide rounded card split into a sage-tinted price side (big serif price, CTA, guarantee) and a two-column “everything included” list.

Organic SoftPricing

Pricing Team

Team-size calculator: a warm range slider (10–500 people) drives a big serif monthly price, annual saving line and a sapling illustration that grows with team size.

Organic SoftPricing

Pricing Tiers

Three rounded plans on cream; the middle one sits on a deep sage card (inverted colors) lifted slightly higher, with a leaf ribbon; checklists use soft tinted checks.

Organic SoftPricing