Section: CTA (Call to Action)

A prominent call-to-action block that drives users to take action. Features a heading, optional description, and a button.

Props

NameTypeRequiredDescriptionDefault
idstringNoSection anchor ID
headingstringYesCTA heading text
descriptionstringNoSupporting text below the heading
ctaTextstringNoButton label
ctaHrefstringNoButton link URL
classNamestringNoCustom CSS class
showIconbooleanNoShow arrow icon on buttontrue

Minimal Example

{ "type": "cta", "heading": "Ready to get started?" }

Full Example

{ "type": "cta", "id": "signup-cta", "heading": "Start Building Today", "description": "Create your first page in under 60 seconds. No credit card required.", "ctaText": "Get Started Free", "ctaHref": "/signup", "showIcon": true }

CTA Best Practices

Button Text

❌ Weak✅ Strong
SubmitGet Started Free
Click HereStart Building Now
Learn MoreSee It In Action
Sign UpCreate Your First Page

Rules of thumb:

  • Start with a verb — "Get", "Start", "Create", "Try"
  • Include the benefit or outcome
  • Add urgency or ease — "Free", "Now", "In 60 Seconds"

Heading Copy

The heading should address the user's motivation at this point in the page:

  • After features: "Ready to see it in action?"
  • After pricing: "Start your free trial today"
  • After testimonials: "Join 500+ teams already using PageGun"
  • After FAQ: "Still have questions? Start building — it's free"

Description

Keep it to 1 sentence. Reinforce the value or remove friction:

  • "No credit card required."
  • "Free plan includes 10 pages."
  • "Set up in 2 minutes. No coding required."

Common Patterns

End of Landing Page

{ "type": "cta", "heading": "Ship Your Next Page in Minutes", "description": "Join developers and AI agents building with PageGun. Free to start.", "ctaText": "Create Free Account", "ctaHref": "https://pagegun.com/signup" }

Documentation CTA

{ "type": "cta", "heading": "Ready to Integrate?", "description": "Follow our Quick Start guide to make your first API call.", "ctaText": "View Quick Start", "ctaHref": "/docs/quick-start" }

Upgrade CTA

{ "type": "cta", "heading": "Need More Pages?", "description": "Upgrade to Pro for unlimited pages, custom domains, and priority support.", "ctaText": "See Pricing", "ctaHref": "/pricing" }

Placement

CTA sections work in two positions:

  1. End of page — The final push to action after all content
  2. Mid-page break — Between content sections to capture users who are already convinced

For long landing pages, consider using 2 CTAs: one mid-page and one at the end.

© 2026 PageGun. All rights reserved.