Skip to content

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.

brutalist/section/pricing-tiers
Open ↗

Source

"use client";

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

export interface PricingTiersPlan {
  name: string;
  description: string;
  /** Monthly price in the display currency; `null` renders "Custom". */
  monthly: number | null;
  /** Price per month when billed yearly. */
  yearly: number | null;
  features: string[];
  cta: { label: string; href: string };
  highlighted?: boolean;
  badge?: string;
}

export interface PricingTiersProps {
  kicker?: string;
  title?: string;
  description?: string;
  plans?: PricingTiersPlan[];
  currency?: string;
  yearlyDiscountLabel?: string;
  defaultBilling?: "monthly" | "yearly";
  className?: string;
}

const DEFAULT_PLANS: PricingTiersPlan[] = [
  {
    name: "Hobby",
    description: "For side projects and open source.",
    monthly: 0,
    yearly: 0,
    features: ["1 project", "Hosted changelog page", "GitHub integration", "Community support"],
    cta: { label: "Start for free", href: "#signup" },
  },
  {
    name: "Team",
    description: "For product teams shipping every week.",
    monthly: 49,
    yearly: 39,
    features: ["10 projects", "AI release summaries", "In-app widget & email digests", "Custom domain", "Slack & Linear integrations"],
    cta: { label: "Try Team free for 14 days", href: "#signup-team" },
    highlighted: true,
    badge: "Most popular",
  },
  {
    name: "Scale",
    description: "For companies with many products and locales.",
    monthly: null,
    yearly: null,
    features: ["Unlimited projects", "SSO & SCIM", "24 languages", "Audit log", "Dedicated success manager"],
    cta: { label: "Talk to sales", href: "#sales" },
  },
];

export function PricingTiers({
  kicker = "[ 04 ] Pricing",
  title = "Pay for projects, not seats.",
  description = "Invite your whole team. Every plan includes unlimited readers and unlimited releases.",
  plans = DEFAULT_PLANS,
  currency = "$",
  yearlyDiscountLabel = "−20%",
  defaultBilling = "yearly",
  className,
}: PricingTiersProps) {
  const [billing, setBilling] = useState<"monthly" | "yearly">(defaultBilling);
  const titleId = useId();

  return (
    <section className={cn("da-section da-stroke-b bg-da-bg text-da-fg", className)} aria-labelledby={titleId}>
      <div className="da-container">
        <div className="flex flex-col items-start gap-6 md:flex-row md:items-end md:justify-between">
          <div className="max-w-2xl">
            <p className="font-da-mono text-xs font-bold tracking-da-label text-da-muted-fg uppercase">{kicker}</p>
            <h2 id={titleId} className="mt-3 font-da-display text-[clamp(2rem,5vw,3.5rem)] leading-[0.95] tracking-da-display uppercase">
              {title}
            </h2>
            <p className="mt-4 text-lg text-da-muted-fg">{description}</p>
          </div>

          <div role="group" aria-label="Billing period" className="da-stroke flex bg-da-surface p-1 text-da-surface-fg">
            {(["monthly", "yearly"] as const).map((b) => (
              <button
                key={b}
                type="button"
                aria-pressed={billing === b}
                onClick={() => setBilling(b)}
                className={cn(
                  "da-focus da-transition px-4 py-2 font-da-mono text-xs font-bold tracking-da-label uppercase",
                  billing === b ? "bg-da-fg text-da-bg" : "hover:bg-da-muted",
                )}
              >
                {b}
                {b === "yearly" && (
                  <span className={cn("ml-2 px-1", billing === b ? "bg-da-primary text-da-primary-fg" : "bg-da-success text-da-success-fg")}>
                    {yearlyDiscountLabel}
                  </span>
                )}
              </button>
            ))}
          </div>
        </div>

        <ul className="mt-12 grid gap-6 lg:grid-cols-3 lg:gap-0">
          {plans.map((plan, i) => {
            const price = billing === "monthly" ? plan.monthly : plan.yearly;
            return (
              <li
                key={plan.name}
                className={cn(
                  "da-stroke relative flex flex-col p-6 sm:p-8",
                  plan.highlighted
                    ? "z-10 bg-da-primary text-da-primary-fg shadow-da-lg lg:-my-4 lg:py-12"
                    : "bg-da-surface text-da-surface-fg",
                  !plan.highlighted && i > 0 && "lg:border-l-0",
                  !plan.highlighted && i < plans.length - 1 && plans[i + 1]?.highlighted && "lg:border-r-0",
                )}
              >
                {plan.badge && (
                  <p className="da-stroke absolute -top-4 left-6 -rotate-2 bg-da-accent px-2 py-1 font-da-mono text-[11px] font-bold tracking-da-label text-da-accent-fg uppercase">
                    {plan.badge}
                  </p>
                )}
                <h3 className="font-da-display text-2xl tracking-da-display uppercase">{plan.name}</h3>
                <p className={cn("mt-2 min-h-[2lh] text-sm", plan.highlighted ? "opacity-80" : "text-da-muted-fg")}>{plan.description}</p>
                <p className="mt-6 flex h-16 items-end gap-2">
                  {price === null ? (
                    <span className="font-da-display text-5xl tracking-da-display">Custom</span>
                  ) : (
                    <>
                      <span className="font-da-display text-6xl leading-none tracking-da-display">
                        {currency}
                        {price}
                      </span>
                      <span className="pb-1 font-da-mono text-xs font-bold tracking-da-label uppercase">
                        / mo{price > 0 && billing === "yearly" ? ", billed yearly" : ""}
                      </span>
                    </>
                  )}
                </p>
                <a
                  href={plan.cta.href}
                  className={cn(
                    "da-focus da-transition da-stroke mt-8 block px-5 py-3 text-center font-bold shadow-da-sm hover:translate-x-[3px] hover:translate-y-[3px] hover:shadow-none",
                    plan.highlighted ? "bg-da-fg text-da-bg" : "bg-da-primary text-da-primary-fg",
                  )}
                >
                  {plan.cta.label}
                </a>
                <ul className={cn("mt-8 space-y-3 pt-6", plan.highlighted ? "border-t-[length:var(--da-border-width)] border-current" : "da-stroke-t")}>
                  {plan.features.map((f) => (
                    <li key={f} className="flex gap-3 text-sm font-medium">
                      <Check aria-hidden className="mt-0.5 size-4 shrink-0" strokeWidth={3} />
                      {f}
                    </li>
                  ))}
                </ul>
              </li>
            );
          })}
        </ul>
      </div>
    </section>
  );
}

export default PricingTiers;

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

Props

PropTypeDefaultDescription
kickerstring"[ 04 ] Pricing"Mono label above the title.
titlestring"Pay for projects, not seats."Section title (h2).
descriptionstring—Paragraph under the title.
plansPricingTiersPlan[]Hobby / Team / Scale{ name, description, monthly, yearly, features, cta, highlighted?, badge? }. Use null prices for "Custom".
currencystring"$"Currency symbol prefixed to prices.
yearlyDiscountLabelstring"−20%"Chip shown on the yearly toggle.
defaultBilling"monthly" | "yearly""yearly"Initial billing period.
classNamestring—Extra 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