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.
glass/section/pricing-frostedSource
"use client";
import { useId, useState } from "react";
import { Check } from "lucide-react";
import { cn } from "@/lib/utils";
export interface PricingFrostedPlan {
name: string;
description: string;
monthly: number | null;
yearly: number | null;
unit?: string;
features: string[];
cta: { label: string; href: string };
featured?: boolean;
}
export interface PricingFrostedProps {
eyebrow?: string;
title?: string;
description?: string;
plans?: PricingFrostedPlan[];
currency?: string;
defaultBilling?: "monthly" | "yearly";
className?: string;
}
const DEFAULT_PLANS: PricingFrostedPlan[] = [
{
name: "Starter",
description: "For individuals who want their meetings to take notes for them.",
monthly: 0,
yearly: 0,
unit: "forever",
features: ["10 recorded meetings / month", "AI summaries & action items", "Async video up to 5 min", "Slack sharing"],
cta: { label: "Get started", href: "#signup" },
},
{
name: "Team",
description: "For teams replacing status meetings with async updates.",
monthly: 18,
yearly: 14,
unit: "per seat / month",
features: ["Unlimited meetings", "Ask-your-meetings search", "Linear, Jira & Notion sync", "Custom vocabulary", "Admin & usage analytics"],
cta: { label: "Start 14-day trial", href: "#trial" },
featured: true,
},
{
name: "Enterprise",
description: "For organisations with security and compliance needs.",
monthly: null,
yearly: null,
unit: "annual billing",
features: ["SAML SSO & SCIM", "EU data residency", "Redaction policies", "Dedicated success manager"],
cta: { label: "Contact sales", href: "#sales" },
},
];
const GLASS = "da-stroke bg-da-surface backdrop-blur-da backdrop-saturate-150";
export function PricingFrosted({
eyebrow = "Pricing",
title = "Start free. Scale when your team does.",
description = "Every plan includes unlimited viewers — only people who record need a seat.",
plans = DEFAULT_PLANS,
currency = "$",
defaultBilling = "yearly",
className,
}: PricingFrostedProps) {
const [billing, setBilling] = useState(defaultBilling);
const titleId = useId();
return (
<section className={cn("da-section text-da-fg", className)} aria-labelledby={titleId}>
<div className="da-container">
<div className="mx-auto max-w-2xl text-center">
<p className="text-sm font-semibold text-da-primary">{eyebrow}</p>
<h2 id={titleId} className="mt-3 font-da-display text-[clamp(2rem,4.5vw,3.25rem)] leading-[1.08] font-semibold tracking-da-display text-balance">
{title}
</h2>
<p className="mt-4 text-lg text-da-muted-fg">{description}</p>
<div role="group" aria-label="Billing period" className={cn("mt-8 inline-flex rounded-da-pill p-1 shadow-da-sm", GLASS)}>
{(["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-pill px-5 py-2 text-sm font-semibold capitalize",
billing === b ? "bg-da-fg text-da-bg shadow-da-sm" : "text-da-muted-fg hover:text-da-fg",
)}
>
{b}
{b === "yearly" && <span className={cn("ml-1.5 text-xs", billing === b ? "opacity-80" : "text-da-success")}>−22%</span>}
</button>
))}
</div>
</div>
<ul className="mt-14 grid items-stretch gap-6 lg:grid-cols-3">
{plans.map((plan) => {
const price = billing === "monthly" ? plan.monthly : plan.yearly;
const card = (
<div
className={cn(
"relative flex h-full flex-col rounded-da-lg p-7",
plan.featured ? "bg-da-surface shadow-da-lg backdrop-blur-da backdrop-saturate-150 lg:-my-3 lg:h-[calc(100%+1.5rem)]" : cn(GLASS, "shadow-da-md"),
)}
>
{plan.featured && (
// Gradient border: a masked 1.5px ring, so the glass inside stays clear
<span
aria-hidden
className="pointer-events-none absolute inset-0 rounded-[inherit] bg-gradient-to-br from-da-primary via-da-accent to-da-primary/30 p-[1.5px] [mask:linear-gradient(#000_0_0)_content-box_exclude,linear-gradient(#000_0_0)]"
/>
)}
<div className="flex items-center justify-between">
<h3 className="font-da-display text-lg font-semibold tracking-da-display">{plan.name}</h3>
{plan.featured && (
<span className="rounded-da-pill bg-gradient-to-r from-da-primary to-da-accent px-2.5 py-1 text-xs font-semibold text-da-primary-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-14 items-baseline gap-2">
<span className="font-da-display text-5xl 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-11 items-center justify-center rounded-da-pill text-sm font-semibold hover:-translate-y-0.5",
plan.featured ? "bg-gradient-to-r from-da-primary to-da-accent text-da-primary-fg shadow-da-md" : "da-stroke bg-da-secondary text-da-secondary-fg shadow-da-sm",
)}
>
{plan.cta.label}
</a>
<ul className="mt-7 space-y-3 text-sm">
{plan.features.map((f) => (
<li key={f} className="flex gap-3">
<span aria-hidden className="mt-0.5 grid size-4 shrink-0 place-items-center rounded-full bg-da-primary/15 text-da-primary">
<Check className="size-3" strokeWidth={3} />
</span>
{f}
</li>
))}
</ul>
</div>
);
return (
<li key={plan.name}>{card}</li>
);
})}
</ul>
</div>
</section>
);
}
export default PricingFrosted;
modules/glass/section/pricing-frosted/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Pricing" | Label above the title. |
| title | string | — | Section title (h2). |
| description | string | — | Intro paragraph. |
| plans | PricingFrostedPlan[] | Starter / Team / Enterprise | { name, description, monthly, yearly, unit?, features, cta, featured? }; null price = "Custom". |
| currency | string | "$" | Currency symbol. |
| defaultBilling | "monthly" | "yearly" | "yearly" | Initial billing period. |
| className | string | — | Classes on the <section>. |
Other pricing variants in Glass
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 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 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 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.
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 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.