Mark Yo

CTA Section

Heroes 12

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

    73
  • Pricing Table

    Pricing Table

    33
  • Approval Queue

    Approval Queue

    24
  • Bento Grid

    Bento Grid

    22
  • Expandable Tabs

    Expandable Tabs

    19
  • Image Gallery

    Image Gallery

    17
  • Wallet Card

    Wallet Card

    16
  • Donut Chart

    Donut Chart

    14

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    36
  • App Integration Celestial Hero

    App Integration Celestial Hero

    17
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • Hero

    Hero

    1.4K