Skip to content

Cta Stats

Split CTA on a dark (fg-colored) panel: copy + buttons on the left, a 2×2 grid of large outcome stats divided by hairlines on the right.

neo-corporate/section/cta-stats
Open ↗

Source

import { cn } from "@/lib/utils";

export interface CtaStatsProps {
  title?: string;
  description?: string;
  primary?: { label: string; href: string };
  secondary?: { label: string; href: string };
  stats?: { value: string; label: string }[];
  className?: string;
}

/** Split CTA on a dark (fg-colored) panel: copy + buttons on the left, a 2×2 grid of large outcome stats divided by hairlines on the right. */
export function CtaStats({
  title = "Numbers your CFO will notice",
  description = "Average results across customers after their first 90 days on Ledgerly.",
  primary = { label: "Start free trial", href: "#trial" },
  secondary = { label: "Calculate your ROI", href: "#roi" },
  stats = [
    { value: "−21 days", label: "Days sales outstanding" },
    { value: "97%", label: "Payments auto-reconciled" },
    { value: "4 days", label: "Average month-end close" },
    { value: "6.8×", label: "First-year ROI" },
  ],
  className,
}: CtaStatsProps) {
  return (
    <section aria-labelledby="nc-ctastats-title" className={cn("da-section bg-da-bg text-da-fg", className)}>
      <div className="da-container">
        <div className="grid overflow-hidden rounded-da-lg bg-da-fg text-da-bg lg:grid-cols-2">
          <div className="p-8 sm:p-12">
            <h2
              id="nc-ctastats-title"
              className="font-da-display text-[clamp(1.75rem,4vw,2.75rem)] leading-tight font-extrabold tracking-da-display text-balance"
            >
              {title}
            </h2>
            <p className="mt-4 text-lg opacity-80">{description}</p>
            <div className="mt-8 flex flex-wrap gap-3">
              <a
                href={primary.href}
                className="da-focus da-transition inline-flex h-11 items-center rounded-da-md bg-da-bg px-5 font-semibold text-da-fg hover:opacity-90"
              >
                {primary.label}
              </a>
              <a
                href={secondary.href}
                className="da-focus da-transition inline-flex h-11 items-center rounded-da-md border border-current/30 px-5 font-semibold hover:bg-da-bg/10"
              >
                {secondary.label}
              </a>
            </div>
          </div>
          <dl className="grid grid-cols-2 gap-px border-t border-current/15 bg-current/15 lg:border-t-0 lg:border-l">
            {stats.map((s) => (
              <div key={s.label} className="flex flex-col justify-center bg-da-fg p-6 sm:p-8">
                <dt className="order-2 mt-1 text-sm opacity-75">{s.label}</dt>
                <dd className="order-1 font-da-display text-[clamp(1.75rem,3.5vw,2.5rem)] font-extrabold tracking-da-display">{s.value}</dd>
              </div>
            ))}
          </dl>
        </div>
      </div>
    </section>
  );
}

export default CtaStats;

modules/neo-corporate/section/cta-stats/index.tsx

Props

PropTypeDefaultDescription
titlestring—Heading.
descriptionstring—Supporting text.
primary{ label: string; href: string }—Primary.
secondary{ label: string; href: string }—Secondary.
stats{ value: string; label: string }[]—Stats.
classNamestring—Extra classes on the root.

Other cta variants in Neo Corporate

CTA in other art directions

CTA Banner

Full-bleed yellow slab with a giant uppercase headline and an inline email capture form (pending + success states), ruled pattern in the corner.

BrutalistCTA

CTA Countdown

Limited-offer CTA in an ink slab: uppercase offer headline, yellow claim button, dashed promo code, and a four-cell live countdown (days/hours/min/sec) with the first cell in yellow.

BrutalistCTA

CTA Split

Two-audience CTA: a big headline over two fully clickable cards (yellow for engineers, blue for product teams) with audience label, title, pitch and a button chip; cards slam into their shadow on hover.

BrutalistCTA

CTA Sticker

Full-bleed pink CTA with a giant centered uppercase headline, an oversized ink button that slams into its shadow on hover, and a yellow circular text-path sticker ticking around in steps.

BrutalistCTA

Cta App

App download CTA in a glass panel: headline, ink store buttons and rating on the left; an HTML phone mock-up recording an in-person meeting (mic orb, waveform, AI chip) rising from the bottom on the right.

GlassCTA

Cta Gradient

Bold full-gradient CTA card with a masked grid overlay and top glow, white primary button, translucent secondary button and three frosted stat chips.

GlassCTA

CTA Orb

Large frosted panel with a slowly spinning, heavily blurred conic-gradient orb glowing through the glass, centered headline, ink + frosted CTAs and a reassurance line.

GlassCTA

Cta Waitlist

Frosted CTA panel haloed by a blurred gradient ring: headline, copy, pill email form with gradient button (success state) and three check perks.

GlassCTA

Cta Banner

Compact inverted ink banner on a single row: title and one-liner on the left, solid and outline actions on the right, with a faint grid fading in from the right edge.

MinimalCTA

CTA Glow

Closing call-to-action card: centered headline and copy, ink button with keyboard hint, ghost secondary link, an indigo glow rising from the bottom edge and a gradient hairline on top.

MinimalCTA

Cta Newsletter

Centered email capture card with an indigo hairline on top: headline, copy, email field and ink button, with client validation plus pending, success and error states.

MinimalCTA

Cta Split

Wide two-column CTA card: headline, copy and two buttons on the left; a tinted panel on the right with a numbered ‘first 10 minutes’ onboarding checklist and time estimates.

MinimalCTA

Cta Contact

Studio-style contact CTA: mono label, headline, the email address set huge as a link, and a row of contact channels (studio, press, careers) in mono under a hairline.

Mono CleanCTA

Cta Email

Underline-input signup: large headline, then an email field drawn as a single bottom rule with an inline “Get started →” button; confirmation replaces the form.

Mono CleanCTA

Cta Giant

Full-width CTA as a giant link: the whole headline is the link, an arrow slides in on hover and an ink underline wipes across; a mono note sits below.

Mono CleanCTA

Cta Split

Two-door CTA: the section is split into two equal halves (white | ink) with a mono label and a large title each; hovering a half inverts it and nudges the arrow.

Mono CleanCTA

Cta Blob

Closing CTA inside a large sage organic blob (SVG shape scaled to the content) with a clay pebble and two leaves around it; serif headline and cream pill buttons.

Organic SoftCTA

Cta Journal

Newsletter CTA styled like a paper journal: clay-tinted card with serif title, recent issue list with mono numbers, and a rounded email + button form with a warm thank-you state.

Organic SoftCTA

Cta Pledge

Interactive pledge CTA: pick the commitments your team is ready for (round check cards), a counter of companies who pledged, and a CTA that reflects how many you chose.

Organic SoftCTA

Cta Wave

Full-width sage band with soft wavy top and bottom edges (SVG), centered serif headline with an italic word, and two pill buttons; flows naturally between cream sections.

Organic SoftCTA

Cta App

App-download CTA on a peach block: headline and ink store buttons on the left, a flat white phone mock-up with a “Today” checklist (mint done items) rising from the bottom on the right.

Soft FlatCTA

Cta Block

Big periwinkle rounded block with pastel circles peeking from the corners, a centered white headline and two pill buttons (solid white and translucent).

Soft FlatCTA

Cta Illustrated

Split CTA in a white rounded card: headline, ink pill button and note on the left; a composition of pastel circle, pill, rotated square and a ✅ tile on the right.

Soft FlatCTA

Cta Newsletter

Newsletter CTA on a mint block: a flat envelope made of shapes with a notification badge, headline, pill email form and a cheerful success state.

Soft FlatCTA