MeaChat
Docs / CTA

CTA

The CTA (Call to Action) component is designed to drive user conversions at the end of a page or section.

Usage

import CTA from '~/components/sections/CTA.astro';

<CTA 
  title="Ready to get started?"
  description="Join thousands of happy users today."
  primaryBtnText="Sign Up"
  primaryBtnLink="/signup"
  secondaryBtnText="Learn More"
  secondaryBtnLink="/about"
/>

Variants

Default

The default variant occupies the full width with a prominent background glow.

Build faster today

Stop wasting time on boilerplate. Use our templates to ship your next project in record time.

No credit card required for open source. 14-day free trial for Pro.

Boxed

The boxed variant is contained within a card, useful for placing inside other layouts.

Ready to Launch?

Get started with our premium templates.

Props

PropTypeDefaultDescription
variant'default' | 'boxed''default'Layout style of the section.
titlestringundefinedHeading text.
descriptionstringundefinedSubtext description.
primaryBtnTextstringundefinedText for the primary button.
primaryBtnLinkstringundefinedURL for the primary button.
secondaryBtnTextstringundefinedText for the secondary button.
secondaryBtnLinkstringundefinedURL for the secondary button.