Skip to content

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-flat/section/pricing-team
Open ↗

Source

"use client";

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

export interface PricingTeamProps {
  title?: string;
  description?: string;
  perSeat?: number;
  freeSeats?: number;
  min?: number;
  max?: number;
  defaultSeats?: number;
  currency?: string;
  cta?: { label: string; href: string };
  className?: string;
}

/** Team-size calculator: big round −/+ stepper with avatar dots filling up, and a butter summary card showing the monthly price (first seats free). */
export function PricingTeam({
  title = "How big is your team?",
  description = "The first 5 people are always free. After that, it’s $6 per person a month.",
  perSeat = 6,
  freeSeats = 5,
  min = 1,
  max = 50,
  defaultSeats = 8,
  currency = "$",
  cta = { label: "Start with this team", href: "#signup" },
  className,
}: PricingTeamProps) {
  const [seats, setSeats] = useState(defaultSeats);
  const id = useId();
  const paid = Math.max(0, seats - freeSeats);
  const total = paid * perSeat;
  const set = (n: number) => setSeats(Math.min(max, Math.max(min, n)));
  const tints = ["bg-da-accent", "bg-da-secondary", "bg-da-primary/30", "bg-da-warning/50"];

  return (
    <section aria-labelledby={`${id}-t`} className={cn("da-section bg-da-bg text-da-fg", className)}>
      <div className="da-container">
        <div className="mx-auto grid max-w-4xl items-stretch gap-5 md:grid-cols-[1.3fr_1fr]">
          <div className="rounded-da-lg bg-da-surface p-8 shadow-da-sm">
            <h2 id={`${id}-t`} className="font-da-display text-3xl font-extrabold tracking-da-display">
              {title}
            </h2>
            <p className="mt-2 text-da-muted-fg">{description}</p>
            <div className="mt-8 flex items-center gap-4">
              <button
                type="button"
                onClick={() => set(seats - 1)}
                disabled={seats <= min}
                aria-label="Remove a person"
                className="da-focus da-transition grid size-14 place-items-center rounded-full bg-da-surface-2 hover:bg-da-muted disabled:opacity-40"
              >
                <Minus aria-hidden className="size-5" />
              </button>
              <label htmlFor={id} className="sr-only">
                Team size
              </label>
              <input
                id={id}
                type="number"
                inputMode="numeric"
                min={min}
                max={max}
                value={seats}
                onChange={(e) => set(Number(e.target.value) || min)}
                className="da-focus w-24 rounded-da-md bg-transparent text-center font-da-display text-5xl font-extrabold tabular-nums [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none"
              />
              <button
                type="button"
                onClick={() => set(seats + 1)}
                disabled={seats >= max}
                aria-label="Add a person"
                className="da-focus da-transition grid size-14 place-items-center rounded-full bg-da-primary text-da-primary-fg hover:-translate-y-0.5 disabled:opacity-40"
              >
                <Plus aria-hidden className="size-5" />
              </button>
              <span className="text-da-muted-fg">people</span>
            </div>
            <div aria-hidden className="mt-8 flex flex-wrap gap-1.5">
              {Array.from({ length: seats }, (_, i) => (
                <span
                  key={i}
                  className={cn(
                    "size-6 rounded-full transition-[scale] duration-(--da-duration) ease-da-emphasized starting:scale-0",
                    tints[i % tints.length],
                    i >= freeSeats && "ring-2 ring-da-primary ring-offset-1 ring-offset-da-surface",
                  )}
                />
              ))}
            </div>
          </div>
          <div className="flex flex-col rounded-da-lg bg-da-warning/25 p-8">
            <p className="font-medium">Your monthly price</p>
            <p className="mt-2 font-da-display text-6xl font-extrabold tracking-da-display" aria-live="polite">
              {currency}
              {total}
            </p>
            <p className="mt-1 text-sm text-da-muted-fg">
              {Math.min(seats, freeSeats)} free + {paid} × {currency}
              {perSeat}
            </p>
            <a
              href={cta.href}
              className="da-focus da-transition mt-auto inline-flex h-12 items-center justify-center rounded-da-pill bg-da-fg font-semibold text-da-bg hover:-translate-y-0.5 max-md:mt-8"
            >
              {cta.label}
            </a>
          </div>
        </div>
      </div>
    </section>
  );
}

export default PricingTeam;

modules/soft-flat/section/pricing-team/index.tsx

Props

PropTypeDefaultDescription
title / descriptionstring—Copy.
perSeat / freeSeatsnumber6 / 5Pricing.
min / max / defaultSeatsnumber1 / 50 / 8Bounds.
currencystring—Symbol.
cta{ label, href }—CTA.
classNamestring—Classes.

Other pricing variants in Soft Flat

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