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.
minimal/section/pricing-columnsSource
"use client";
import { useId, useState } from "react";
import { Check } from "lucide-react";
import { cn } from "@/lib/utils";
export interface PricingColumnsPlan {
name: string;
description: string;
/** Price per seat per month; null = "Custom". */
monthly: number | null;
yearly: number | null;
unit?: string;
features: string[];
cta: { label: string; href: string };
featured?: boolean;
}
export interface PricingColumnsProps {
eyebrow?: string;
title?: string;
description?: string;
plans?: PricingColumnsPlan[];
currency?: string;
defaultBilling?: "monthly" | "yearly";
footnote?: string;
className?: string;
}
const DEFAULT_PLANS: PricingColumnsPlan[] = [
{
name: "Free",
description: "For small teams getting started with on-call.",
monthly: 0,
yearly: 0,
unit: "up to 5 users",
features: ["Alert routing & escalation", "1 on-call schedule", "Public status page", "Slack integration"],
cta: { label: "Get started", href: "#signup" },
},
{
name: "Pro",
description: "For growing engineering orgs with real SLAs.",
monthly: 29,
yearly: 24,
unit: "per user / month",
features: ["Everything in Free", "Unlimited schedules", "AI postmortem drafts", "Private status pages", "Jira & Linear sync", "SLA reporting"],
cta: { label: "Start 14-day trial", href: "#trial" },
featured: true,
},
{
name: "Enterprise",
description: "For regulated teams operating at scale.",
monthly: null,
yearly: null,
unit: "annual contract",
features: ["Everything in Pro", "SAML SSO & SCIM", "Audit log & data residency", "99.99% uptime SLA", "Dedicated support engineer"],
cta: { label: "Contact sales", href: "#sales" },
},
];
export function PricingColumns({
eyebrow = "Pricing",
title = "Simple pricing that scales with your team",
description = "Start free. Upgrade when your on-call rotation outgrows a spreadsheet.",
plans = DEFAULT_PLANS,
currency = "$",
defaultBilling = "yearly",
footnote = "Prices in USD. Stakeholders and status page subscribers are always free.",
className,
}: PricingColumnsProps) {
const [billing, setBilling] = useState(defaultBilling);
const titleId = useId();
return (
<section className={cn("da-section bg-da-bg text-da-fg", className)} aria-labelledby={titleId}>
<div className="da-container">
<div className="mx-auto max-w-2xl text-center">
<p className="font-da-mono text-xs text-da-accent-fg">{eyebrow}</p>
<h2 id={titleId} className="mt-3 text-[clamp(1.875rem,4vw,2.75rem)] leading-[1.1] font-semibold tracking-da-display text-balance">
{title}
</h2>
<p className="mt-4 text-[17px] text-da-muted-fg">{description}</p>
<div role="group" aria-label="Billing period" className="da-stroke mt-8 inline-flex rounded-da-md bg-da-surface-2 p-1">
{(["monthly", "yearly"] as const).map((b) => (
<button
key={b}
type="button"
aria-pressed={billing === b}
onClick={() => setBilling(b)}
className={cn(
"da-focus da-transition rounded-da-sm px-3.5 py-1.5 text-sm font-medium capitalize",
billing === b ? "bg-da-surface text-da-fg shadow-da-sm" : "text-da-muted-fg hover:text-da-fg",
)}
>
{b}
{b === "yearly" && <span className="ml-1.5 text-xs text-da-success">−17%</span>}
</button>
))}
</div>
</div>
<ul className="mt-14 grid gap-4 lg:grid-cols-3">
{plans.map((plan) => {
const price = billing === "monthly" ? plan.monthly : plan.yearly;
return (
<li
key={plan.name}
className={cn(
"relative flex flex-col rounded-da-lg p-6 sm:p-8",
plan.featured
? "bg-da-surface text-da-surface-fg shadow-da-lg ring-1 ring-da-primary/50"
: "da-stroke bg-da-surface/50 text-da-surface-fg",
)}
>
{plan.featured && (
<div aria-hidden className="absolute inset-x-8 -top-px h-px bg-gradient-to-r from-transparent via-da-primary to-transparent" />
)}
<div className="flex items-center justify-between">
<h3 className="text-[15px] font-medium">{plan.name}</h3>
{plan.featured && <span className="rounded-da-pill bg-da-accent px-2 py-0.5 text-xs font-medium text-da-accent-fg">Most popular</span>}
</div>
<p className="mt-2 min-h-[2lh] text-sm text-da-muted-fg">{plan.description}</p>
<p className="mt-6 flex h-12 items-baseline gap-1.5">
<span className="text-4xl font-semibold tracking-da-display tabular-nums">{price === null ? "Custom" : `${currency}${price}`}</span>
{plan.unit && <span className="text-sm text-da-muted-fg">{plan.unit}</span>}
</p>
<a
href={plan.cta.href}
className={cn(
"da-focus da-transition mt-6 inline-flex h-9 items-center justify-center rounded-da-md text-sm font-medium",
plan.featured
? "bg-da-primary text-da-primary-fg shadow-da-sm hover:bg-da-primary/90"
: "da-stroke bg-da-surface text-da-surface-fg hover:bg-da-muted",
)}
>
{plan.cta.label}
</a>
<ul className="mt-8 space-y-3 border-t border-da-border pt-6 text-sm">
{plan.features.map((f) => (
<li key={f} className="flex gap-2.5">
<Check aria-hidden className={cn("mt-0.5 size-4 shrink-0", plan.featured ? "text-da-primary" : "text-da-muted-fg")} />
{f}
</li>
))}
</ul>
</li>
);
})}
</ul>
{footnote && <p className="mt-8 text-center text-xs text-da-muted-fg">{footnote}</p>}
</div>
</section>
);
}
export default PricingColumns;
modules/minimal/section/pricing-columns/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Pricing" | Mono label above the title. |
| title | string | — | Section title (h2). |
| description | string | — | Intro paragraph. |
| plans | PricingColumnsPlan[] | Free / Pro / Enterprise | { name, description, monthly, yearly, unit?, features, cta, featured? }; null price = "Custom". |
| currency | string | "$" | Currency symbol. |
| defaultBilling | "monthly" | "yearly" | "yearly" | Initial billing period. |
| footnote | string | — | Small print under the plans. |
| className | string | — | Classes on the <section>. |
Other pricing variants in Minimal
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Pricing Fees
Pay-as-you-go fee sheet: big per-method rates in bordered cells (4-up), then a “no hidden fees” checklist band.
Pricing Matrix
Enterprise feature matrix: sticky-looking header row of plans, grouped rows with section headings, checks/dashes/values and a tinted featured column.
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”.
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.
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.
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.
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.
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.
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.
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.
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.
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.