Mark Yo

CTA Section

Heroes

About

A closing call-to-action section for landing pages, in a centered card layout or a split copy-plus-visual/email-capture layout, with a word-by-word headline reveal and a rotating gradient border or dotted background.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds CTA Section to your project and fits it to your theme.

Code

How CTA Section is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import CtaSection from "@/components/ui/cta-section";
import { ArrowRight } from "lucide-react";

// Fictional product and copy, taken verbatim from the source's own preview.
export default function CtaSectionDemo() {
  return (
    <div className="flex w-full items-center justify-center p-6">
      <div className="w-full max-w-[38rem] px-1">
        <CtaSection
          eyebrow="Get started"
          headline="Ship your next launch in a weekend"
          description="Fieldnote gives your team docs, roadmaps and changelogs in one calm workspace. Free for small teams."
          primaryAction={{
            label: "Start for free",
            onClick: () => {},
            icon: <ArrowRight aria-hidden className="size-4" />,
          }}
          secondaryAction={{ label: "Talk to sales", onClick: () => {} }}
          checklist={["No credit card", "14-day Pro trial", "Cancel any time"]}
        />
      </div>
    </div>
  );
}

Dependencies

More by Mark Yo

View all
  • Loader

    Loader

    64
  • Pricing Table

    Pricing Table

    23
  • Bento Grid

    Bento Grid

    4
  • Expandable Tabs

    Expandable Tabs

    1
  • Shared Layout Background

    Shared Layout Background

    1
  • Stateful Button

    Stateful Button

  • Animated Button

    Animated Button

  • Morphing Modal

    Morphing Modal

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero Section 01

    Hero Section 01

    56
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Hero

    Hero

    1.4K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Split Hero With Image Cards

    Split Hero With Image Cards

    466
  • Facts Hero

    Facts Hero

    6