Pricing Tiers
Three dark plan cards with a monthly/yearly segmented switch (light pill on the active option); the featured plan gets a periwinkle ring, a ‘Most popular’ chip and the glow along its top edge.
nocturne/section/pricing-tiersSource
"use client";
import { useState } from "react";
import { Check } from "lucide-react";
import { cn } from "@/lib/utils";
export interface PricingTiersPlan {
name: string;
description: string;
monthly: number | null;
yearly: number | null;
priceLabel?: string;
features: string[];
cta: { label: string; href: string };
featured?: boolean;
}
export interface PricingTiersProps {
title?: string;
description?: string;
plans?: PricingTiersPlan[];
currency?: string;
className?: string;
}
const DEFAULT_PLANS: PricingTiersPlan[] = [
{
name: "Free",
description: "For trying Nova on your own.",
monthly: 0,
yearly: 0,
features: ["50 messages a day", "2 connected apps", "7-day memory"],
cta: { label: "Start free", href: "#free" },
},
{
name: "Pro",
description: "For people who live in Nova.",
monthly: 20,
yearly: 16,
features: ["Unlimited messages", "All integrations", "Unlimited team memory", "Custom agents"],
cta: { label: "Upgrade to Pro", href: "#pro" },
featured: true,
},
{
name: "Team",
description: "Shared memory for the whole company.",
monthly: null,
yearly: null,
priceLabel: "Custom",
features: ["Everything in Pro", "SSO & SCIM", "Admin analytics", "EU data residency"],
cta: { label: "Talk to sales", href: "#sales" },
},
];
/** Three dark plan cards with a monthly/yearly segmented switch; the featured plan gets a periwinkle ring and the glow. */
export function PricingTiers({
title = "Simple plans. No token math.",
description = "Start free, upgrade when Nova becomes part of your day.",
plans = DEFAULT_PLANS,
currency = "$",
className,
}: PricingTiersProps) {
const [yearly, setYearly] = useState(true);
return (
<section className={cn("da-section", className)}>
<div className="da-container">
<div className="flex flex-col items-center text-center">
<h2 className="font-da-display text-3xl font-semibold tracking-da-display text-balance sm:text-4xl">{title}</h2>
<p className="mt-3 text-da-muted-fg">{description}</p>
<div role="radiogroup" aria-label="Billing period" className="da-stroke mt-8 inline-flex rounded-da-pill bg-da-surface p-1">
{[
{ value: false, label: "Monthly" },
{ value: true, label: "Yearly · −20%" },
].map((o) => (
<button
key={o.label}
type="button"
role="radio"
aria-checked={yearly === o.value}
onClick={() => setYearly(o.value)}
className={cn(
"da-focus da-transition rounded-da-pill px-4 py-1.5 text-sm font-medium",
yearly === o.value ? "bg-da-fg text-da-bg" : "text-da-muted-fg hover:text-da-fg",
)}
>
{o.label}
</button>
))}
</div>
</div>
<ul className="mt-12 grid gap-4 lg:grid-cols-3">
{plans.map((p) => {
const price = yearly ? p.yearly : p.monthly;
return (
<li
key={p.name}
className={cn(
"relative isolate flex flex-col overflow-hidden rounded-da-lg bg-da-surface p-6 shadow-da-md",
p.featured ? "ring-1 ring-da-primary/60" : "da-stroke",
)}
>
{p.featured && <div aria-hidden className="absolute inset-x-0 top-0 -z-10 h-40 rotate-180 bg-(image:--nocturne-glow)" />}
<div className="flex items-center justify-between">
<h3 className="font-da-display text-lg font-medium">{p.name}</h3>
{p.featured && <span className="rounded-da-pill bg-da-primary px-2.5 py-0.5 text-[11px] font-semibold text-da-primary-fg">Most popular</span>}
</div>
<p className="mt-1 text-sm text-da-muted-fg">{p.description}</p>
<p className="mt-6 flex items-baseline gap-1">
<span className="font-da-display text-4xl font-semibold tracking-da-display">{price === null ? (p.priceLabel ?? "—") : `${currency}${price}`}</span>
{price !== null && <span className="text-sm text-da-muted-fg">/ month{yearly && price > 0 ? ", billed yearly" : ""}</span>}
</p>
<ul className="mt-6 space-y-2.5 text-sm">
{p.features.map((f) => (
<li key={f} className="flex items-start gap-2.5">
<Check aria-hidden className="mt-0.5 size-4 shrink-0 text-da-primary" />
{f}
</li>
))}
</ul>
<a
href={p.cta.href}
className={cn(
"da-focus da-transition mt-8 inline-flex h-10 items-center justify-center rounded-da-pill px-5 text-sm font-semibold",
p.featured ? "bg-da-primary text-da-primary-fg hover:brightness-110" : "da-stroke bg-da-surface-2 hover:bg-da-secondary",
)}
>
{p.cta.label}
</a>
</li>
);
})}
</ul>
</div>
</section>
);
}
export default PricingTiers;
modules/nocturne/section/pricing-tiers/index.tsx
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title / description | string | — | Heading copy. |
| plans | { name, description, monthly, yearly, priceLabel?, features[], cta, featured? }[] | — | Plans; null price shows priceLabel. |
| currency | string | "$" | Currency symbol. |
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 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.