Skip to content

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.

glass/section/pricing-duo
Open ↗

Source

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

export interface PricingDuoPlan {
  name: string;
  price: string;
  unit: string;
  description: string;
  cta: { label: string; href: string };
  featured?: boolean;
}

export interface PricingDuoProps {
  eyebrow?: string;
  title?: string;
  plans?: [PricingDuoPlan, PricingDuoPlan];
  /** [feature, in free plan, in paid plan] */
  features?: [string, boolean | string, boolean | string][];
  className?: string;
}

const GLASS = "da-stroke bg-da-surface backdrop-blur-da backdrop-saturate-150";

/** Two plans side by side in one glass panel with a shared feature list running down both columns; paid column glows. */
export function PricingDuo({
  eyebrow = "Pricing",
  title = "Free for you. Worth it for your team.",
  plans = [
    { name: "Personal", price: "$0", unit: "forever", description: "For your own calls.", cta: { label: "Get started", href: "#free" } },
    {
      name: "Team",
      price: "$12",
      unit: "per member / month",
      description: "For teams that meet a lot.",
      cta: { label: "Start 14-day trial", href: "#team" },
      featured: true,
    },
  ],
  features = [
    ["AI recaps", "10 / month", "Unlimited"],
    ["Transcription languages", "5", "30"],
    ["Async video updates", "5 min", "Unlimited"],
    ["Ask Halo search", false, true],
    ["Slack, Notion & Linear sync", false, true],
    ["Shared team workspace", false, true],
    ["Admin & SSO", false, "Add-on"],
  ],
  className,
}: PricingDuoProps) {
  const cell = (v: boolean | string) =>
    v === true ? (
      <Check aria-label="Included" className="size-4 text-da-success" />
    ) : v === false ? (
      <Minus aria-label="Not included" className="size-4 text-da-muted-fg" />
    ) : (
      <span className="text-sm font-medium">{v}</span>
    );

  return (
    <section aria-labelledby="glass-duo-title" className={cn("da-section text-da-fg", className)}>
      <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="glass-duo-title"
            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>
        </div>
        <div className={cn("relative mx-auto mt-14 max-w-3xl overflow-hidden rounded-da-lg shadow-da-lg", GLASS)}>
          <div className="relative overflow-x-auto" tabIndex={0} role="region" aria-label="Plan comparison (scrollable)">
            <table className="w-full min-w-[560px] text-left">
              <caption className="sr-only">Plan comparison</caption>
              <thead>
                <tr>
                  <td className="w-2/5" />
                  {plans.map((p) => (
                    <th key={p.name} scope="col" className={cn("p-5 align-top font-normal sm:p-6", p.featured && "bg-da-primary/10")}>
                      <span className="flex items-center gap-2 font-da-display text-lg font-semibold">
                        {p.name}
                        {p.featured && (
                          <span className="rounded-da-pill bg-gradient-to-r from-da-primary to-da-accent px-2 py-0.5 text-[11px] text-da-primary-fg">
                            Popular
                          </span>
                        )}
                      </span>
                      <span className="mt-1 block text-sm text-da-muted-fg">{p.description}</span>
                      <span className="mt-4 block font-da-display text-4xl font-semibold tracking-da-display">{p.price}</span>
                      <span className="block text-xs text-da-muted-fg">{p.unit}</span>
                      <a
                        href={p.cta.href}
                        className={cn(
                          "da-focus da-transition mt-5 flex h-10 items-center justify-center rounded-da-pill text-sm font-semibold hover:-translate-y-0.5",
                          p.featured ? "bg-gradient-to-r from-da-primary to-da-accent text-da-primary-fg shadow-da-md" : "da-stroke bg-da-surface",
                        )}
                      >
                        {p.cta.label}
                      </a>
                    </th>
                  ))}
                </tr>
              </thead>
              <tbody>
                {features.map(([label, a, b]) => (
                  <tr key={label} className="border-t border-da-border">
                    <th scope="row" className="px-5 py-3 text-sm font-normal text-da-muted-fg sm:px-6 sm:py-3.5">
                      {label}
                    </th>
                    <td className={cn("px-5 py-3 sm:px-6", plans[0].featured && "bg-da-primary/10")}>{cell(a)}</td>
                    <td className={cn("px-5 py-3 sm:px-6", plans[1].featured && "bg-da-primary/10")}>{cell(b)}</td>
                  </tr>
                ))}
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </section>
  );
}

export default PricingDuo;

modules/glass/section/pricing-duo/index.tsx

Props

PropTypeDefaultDescription
eyebrow / titlestring—Header.
plans[plan, plan]—{ name, price, unit, description, cta, featured? }.
features[label, free, paid][]—boolean | string per plan.
classNamestring—Classes.

Other pricing variants in Glass

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