Skip to content

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-corporate/section/pricing-matrix
Open ↗

Source

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

export interface PricingMatrixProps {
  title?: string;
  plans?: string[];
  featured?: number;
  sections?: { title: string; rows: { label: string; values: (boolean | string)[] }[] }[];
  className?: string;
}

const DEFAULT_SECTIONS = [
  {
    title: "Receivables",
    rows: [
      { label: "Invoices per month", values: ["100", "Unlimited", "Unlimited"] },
      { label: "Automatic reminders", values: [true, true, true] },
      { label: "Customer portal", values: [false, true, true] },
    ],
  },
  {
    title: "Payments",
    rows: [
      { label: "Card & ACH", values: [true, true, true] },
      { label: "SEPA & SWIFT", values: [false, true, true] },
      { label: "Custom FX rates", values: [false, false, true] },
    ],
  },
  {
    title: "Controls & security",
    rows: [
      { label: "Approval workflows", values: [false, true, true] },
      { label: "SSO / SAML", values: [false, false, true] },
      { label: "Audit log retention", values: ["30 days", "1 year", "7 years"] },
    ],
  },
];

/** Enterprise feature matrix: sticky-looking header row of plans, grouped rows with section headings, checks/dashes/values and a tinted featured column. */
export function PricingMatrix({
  title = "Detailed plan comparison",
  plans = ["Starter", "Growth", "Enterprise"],
  featured = 1,
  sections = DEFAULT_SECTIONS,
  className,
}: PricingMatrixProps) {
  return (
    <section aria-labelledby="nc-matrix-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
      <div className="da-container">
        <h2 id="nc-matrix-title" className="font-da-display text-[clamp(1.75rem,4vw,2.5rem)] font-extrabold tracking-da-display">
          {title}
        </h2>
        <div className="da-stroke mt-8 relative overflow-x-auto rounded-da-lg" tabIndex={0} role="region" aria-label="Plan comparison (scrollable)">
          <table className="w-full min-w-[640px] text-left text-[15px]">
            <caption className="sr-only">{title}</caption>
            <thead className="bg-da-surface-2">
              <tr className="border-b border-da-border">
                <td className="w-2/5 px-5 py-4" />
                {plans.map((p, i) => (
                  <th key={p} scope="col" className={cn("px-5 py-4 text-center font-da-display font-bold", i === featured && "bg-da-accent text-da-accent-fg")}>
                    {p}
                  </th>
                ))}
              </tr>
            </thead>
            {sections.map((s) => (
              <tbody key={s.title}>
                <tr className="border-b border-da-border bg-da-surface">
                  <th scope="colgroup" colSpan={plans.length + 1} className="px-5 pt-6 pb-2 text-xs font-semibold tracking-da-label text-da-muted-fg uppercase">
                    {s.title}
                  </th>
                </tr>
                {s.rows.map((r) => (
                  <tr key={r.label} className="border-b border-da-border bg-da-surface">
                    <th scope="row" className="px-5 py-3.5 font-normal">
                      {r.label}
                    </th>
                    {r.values.map((v, i) => (
                      <td key={i} className={cn("px-5 py-3.5 text-center", i === featured && "bg-da-accent/40")}>
                        {v === true ? (
                          <Check aria-label="Included" className="mx-auto size-4 text-da-primary" strokeWidth={3} />
                        ) : v === false ? (
                          <Minus aria-label="Not included" className="mx-auto size-4 text-da-muted-fg" />
                        ) : (
                          <span className="font-medium">{v}</span>
                        )}
                      </td>
                    ))}
                  </tr>
                ))}
              </tbody>
            ))}
          </table>
        </div>
      </div>
    </section>
  );
}

export default PricingMatrix;

modules/neo-corporate/section/pricing-matrix/index.tsx

Props

PropTypeDefaultDescription
titlestring—Heading.
plansstring[]—Plans.
featurednumber—Featured.
sections{ title: string; rows: { label: string; values: (boolean | string)[] }[] }[]—Sections.
classNamestring—Extra classes on the root.

Other pricing variants in Neo Corporate

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 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