Component: CallToAction (CTA)
Purpose
Creates a distinct block designed to grab attention and encourage the user to take a specific action (like signing up, learning more, etc.). Usually contains text and one or two buttons.
When to Use
- At the end of a page or section to prompt the next step.
- Highlighting a key offer or benefit.
- Driving sign-ups, downloads, or contact requests.
How to Use (Options / Props)
Option ( | Description | Required? | Example Value(s) |
|---|---|---|---|
| The main headline for the CTA block. | Yes | |
| Short text explaining the offer or action. | Yes | |
| Text for the primary action button. | Yes | |
| URL link for the primary action button. | Yes | |
| Text for an optional secondary action button. | No | |
| URL link for the optional secondary button. | No (Yes if | |
| Optional extra text below buttons. | No | Put text between tags |
Example MDX Usage
CTA with one button:
<CallToAction
title="Get Started Today!"
description="Join thousands of users benefiting from our service. No credit card required for trial."
button1Text="Start Free Trial"
button1Href="/signup"
/>
CTA with two buttons and extra text:
<CallToAction
title="Explore Our Powerful Features"
description="See how our tools can help you achieve your goals faster."
button1Text="View Features"
button1Href="/features"
button2Text="Request a Demo"
button2Href="/request-demo"
>
*14-day free trial available on all plans.*
</CallToAction>
Updated on: 13/05/2026
Thank you!