Ashish Sharma

CTA Block

Heroes

About

A closing call-to-action section for marketing pages that restates the main promise, offers one primary next step and a reassurance line beneath the buttons.

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

Code

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

Usage.tsx

import { CtaBlock } from "@/components/ui/cta-block";

export default function CtaBlockDemo() {
  return (
    <div className="w-full">
      <CtaBlock
        eyebrow="Get started"
        title="Close your books in half the time"
        reassurance="14 days free · no card · import your September close"
        primary={{ label: "Start free trial", href: "#" }}
        secondary={{ label: "Book a demo", href: "#" }}
      />
    </div>
  );
}

More by Ashish Sharma

View all
  • Perspective Gallery

    Perspective Gallery

    149
  • Bento Features

    Bento Features

    27
  • Animated Sidebar

    Animated Sidebar

    25
  • Otp Input

    Otp Input

    25
  • Glow Ring

    Glow Ring

    20
  • Notification Stack

    Notification Stack

    11
  • Expandable Tabs

    Expandable Tabs

    11
  • Voice Orb

    Voice Orb

    8

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