Skip to content

Pricing Compare

Rounded comparison table inside a white card: soft zebra rows, round mint check and grey dash badges, and a lavender featured column with rounded head.

soft-flat/section/pricing-compare
Open ↗

Source

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

export interface PricingCompareProps {
  title?: string;
  plans?: { name: string; price: string; featured?: boolean }[];
  rows?: { label: string; values: (boolean | string)[] }[];
  className?: string;
}

const DEFAULT_ROWS = [
  { label: "Members", values: ["5", "Unlimited", "Unlimited"] },
  { label: "Boards", values: ["3", "Unlimited", "Unlimited"] },
  { label: "Weekly view", values: [true, true, true] },
  { label: "Recurring tasks", values: [false, true, true] },
  { label: "Free guests", values: [false, true, true] },
  { label: "Workload view", values: [false, false, true] },
  { label: "SSO & admin", values: [false, false, true] },
  { label: "Support", values: ["Help center", "Email", "Priority chat"] },
];

/** Rounded comparison table with soft zebra rows, round check/dash badges and a lavender-highlighted featured column; scrolls on mobile. */
export function PricingCompare({
  title = "Compare plans",
  plans = [
    { name: "Sprout", price: "Free" },
    { name: "Bloom", price: "$6", featured: true },
    { name: "Forest", price: "$11" },
  ],
  rows = DEFAULT_ROWS,
  className,
}: PricingCompareProps) {
  return (
    <section aria-labelledby="sf-compare-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
      <div className="da-container">
        <h2 id="sf-compare-title" className="text-center font-da-display text-[clamp(2rem,4.5vw,3rem)] font-extrabold tracking-da-display">
          {title}
        </h2>
        <div
          className="mx-auto mt-10 max-w-4xl overflow-x-auto rounded-da-lg bg-da-surface p-2 shadow-da-sm"
          tabIndex={0}
          role="region"
          aria-label="Plan comparison (scrollable)"
        >
          <table className="w-full min-w-[560px] border-separate border-spacing-0 text-[15px]">
            <caption className="sr-only">Features by plan</caption>
            <thead>
              <tr>
                <td className="w-2/5" />
                {plans.map((p) => (
                  <th key={p.name} scope="col" className={cn("rounded-t-da-md px-4 py-5 text-center font-normal", p.featured && "bg-da-primary/12")}>
                    <span className="block font-da-display text-xl font-extrabold">{p.name}</span>
                    <span className="text-sm text-da-muted-fg">{p.price === "Free" ? "Free" : `${p.price} / member`}</span>
                  </th>
                ))}
              </tr>
            </thead>
            <tbody>
              {rows.map((r, i) => (
                <tr key={r.label} className={cn(i % 2 === 0 && "[&>*:not(.is-featured)]:bg-da-surface-2")}>
                  <th scope="row" className="rounded-l-da-md px-4 py-3.5 text-left font-medium">
                    {r.label}
                  </th>
                  {r.values.map((v, k) => (
                    <td
                      key={k}
                      className={cn(
                        "px-4 py-3.5 text-center",
                        plans[k]?.featured && "is-featured bg-da-primary/12",
                        k === r.values.length - 1 && "rounded-r-da-md",
                      )}
                    >
                      {v === true ? (
                        <span className="mx-auto grid size-6 place-items-center rounded-full bg-da-secondary text-da-secondary-fg">
                          <Check aria-label="Included" className="size-3.5" strokeWidth={3} />
                        </span>
                      ) : v === false ? (
                        <span className="mx-auto grid size-6 place-items-center rounded-full bg-da-muted text-da-muted-fg">
                          <Minus aria-label="Not included" className="size-3.5" />
                        </span>
                      ) : (
                        <span className="font-medium">{v}</span>
                      )}
                    </td>
                  ))}
                </tr>
              ))}
            </tbody>
          </table>
        </div>
      </div>
    </section>
  );
}

export default PricingCompare;

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

Props

PropTypeDefaultDescription
titlestring—Heading.
plans{ name, price, featured? }[]—Columns.
rows{ label, values }[]—boolean | string per plan.
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