Skip to content

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.

brutalist/section/pricing-comparison
Open ↗

Source

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

export interface PricingComparisonPlan {
  name: string;
  price: string;
  cta: { label: string; href: string };
  highlighted?: boolean;
}

export interface PricingComparisonGroup {
  title: string;
  rows: { feature: string; values: (boolean | string)[] }[];
}

export interface PricingComparisonProps {
  kicker?: string;
  title?: string;
  plans?: PricingComparisonPlan[];
  groups?: PricingComparisonGroup[];
  className?: string;
}

export function PricingComparison({
  kicker = "[ 05 ] Compare plans",
  title = "Every feature, no fine print.",
  plans = [
    { name: "Hobby", price: "$0", cta: { label: "Start", href: "#hobby" } },
    { name: "Team", price: "$49/mo", cta: { label: "Try free", href: "#team" }, highlighted: true },
    { name: "Scale", price: "Custom", cta: { label: "Talk to us", href: "#scale" } },
  ],
  groups = [
    {
      title: "Publishing",
      rows: [
        { feature: "Projects", values: ["1", "10", "Unlimited"] },
        { feature: "Hosted changelog", values: [true, true, true] },
        { feature: "Custom domain", values: [false, true, true] },
        { feature: "In-app widget", values: [false, true, true] },
      ],
    },
    {
      title: "Automation",
      rows: [
        { feature: "AI release summaries", values: [false, true, true] },
        { feature: "Email & Slack digests", values: ["Weekly", "Per release", "Per release"] },
        { feature: "Translations", values: [false, "5 languages", "24 languages"] },
      ],
    },
    {
      title: "Security",
      rows: [
        { feature: "SSO & SCIM", values: [false, false, true] },
        { feature: "Audit log", values: [false, "30 days", "1 year"] },
      ],
    },
  ],
  className,
}: PricingComparisonProps) {
  const cellTone = (i: number) => (plans[i]?.highlighted ? "bg-da-primary/25" : undefined);

  return (
    <section className={cn("da-section da-stroke-b bg-da-bg text-da-fg", className)} aria-labelledby="pricing-comparison-title">
      <div className="da-container">
        <p className="font-da-mono text-xs font-bold tracking-da-label text-da-muted-fg uppercase">{kicker}</p>
        <h2 id="pricing-comparison-title" className="mt-3 font-da-display text-[clamp(2rem,5vw,3.5rem)] leading-[0.95] tracking-da-display uppercase">
          {title}
        </h2>

        <div className="da-stroke mt-10 overflow-x-auto bg-da-surface text-da-surface-fg shadow-da-lg">
          <table className="w-full min-w-[640px] border-collapse text-left">
            <caption className="sr-only">Plan comparison</caption>
            <thead>
              <tr className="da-stroke-b">
                <th scope="col" className="w-1/3 p-5 align-bottom font-da-mono text-xs font-bold tracking-da-label uppercase">
                  Feature
                </th>
                {plans.map((p) => (
                  <th key={p.name} scope="col" className={cn("da-stroke-l p-5 align-bottom", p.highlighted && "bg-da-primary text-da-primary-fg")}>
                    <span className="block font-da-display text-2xl tracking-da-display uppercase">{p.name}</span>
                    <span className="block font-da-mono text-sm font-bold">{p.price}</span>
                    <a
                      href={p.cta.href}
                      className={cn(
                        "da-focus da-stroke mt-3 inline-block px-3 py-1.5 text-sm font-bold shadow-da-sm hover:translate-x-[3px] hover:translate-y-[3px] hover:shadow-none",
                        p.highlighted ? "bg-da-fg text-da-bg" : "bg-da-primary text-da-primary-fg",
                      )}
                    >
                      {p.cta.label}
                    </a>
                  </th>
                ))}
              </tr>
            </thead>
            {groups.map((g) => (
              <tbody key={g.title}>
                <tr className="da-stroke-b bg-da-fg text-da-bg">
                  <th scope="colgroup" colSpan={plans.length + 1} className="px-5 py-2 font-da-mono text-xs font-bold tracking-da-label uppercase">
                    {g.title}
                  </th>
                </tr>
                {g.rows.map((r) => (
                  <tr key={r.feature} className="da-stroke-b last:border-b-0">
                    <th scope="row" className="p-4 pl-5 font-bold">
                      {r.feature}
                    </th>
                    {r.values.map((v, i) => (
                      <td key={i} className={cn("da-stroke-l p-4 text-center font-da-mono text-sm font-bold", cellTone(i))}>
                        {v === true ? (
                          <>
                            <Check aria-hidden className="mx-auto size-5" strokeWidth={3.5} />
                            <span className="sr-only">Included</span>
                          </>
                        ) : v === false ? (
                          <>
                            <Minus aria-hidden className="mx-auto size-5 opacity-40" strokeWidth={3} />
                            <span className="sr-only">Not included</span>
                          </>
                        ) : (
                          v
                        )}
                      </td>
                    ))}
                  </tr>
                ))}
              </tbody>
            ))}
          </table>
        </div>
      </div>
    </section>
  );
}

export default PricingComparison;

modules/brutalist/section/pricing-comparison/index.tsx

Props

PropTypeDefaultDescription
kicker / titlestring—Header copy.
plansPricingComparisonPlan[]—{ name, price, cta, highlighted? }[] — one column each.
groupsPricingComparisonGroup[]—{ title, rows: { feature, values: (boolean | string)[] }[] }[]; values align with plans.
classNamestring—Classes on the <section>.

Other pricing variants in Brutalist

Pricing in other art directions

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

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 FlatPricing

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 FlatPricing

Pricing Duo

Two big plan blocks side by side: a mint “Free” block and a periwinkle “Pro” block with light text, huge rounded prices, round-tick feature lists and contrasting pill CTAs.

Soft FlatPricing

Pricing Team

Team-size price calculator: big round −/+ stepper around an editable number, avatar dots popping in for each person (paid seats ringed), and a butter summary card with the live monthly total.

Soft FlatPricing