Centered CTA
A centred heading, sub-copy and a primary/secondary button pair - the default closing call-to-action.
3 frameworksBeginner
A CTA inside an elevated card that reads as lifted off the page with a ring and soft shadow.
<!--
An elevated card that reads as lifted off the page: a ring plus a soft shadow.
The shadow is tuned per theme (gray-900/5 on light, black/20 on dark) because
a light-mode shadow is invisible on a dark surface.
-->
<section class="mx-auto w-full max-w-4xl px-4 py-12 sm:px-6 sm:py-16">
<div class="rounded-2xl border border-gray-200 bg-white p-8 shadow-xl shadow-gray-900/5 ring-1 ring-black/5 sm:p-12 dark:border-gray-800 dark:bg-gray-900 dark:shadow-black/20 dark:ring-white/10">
<div class="mx-auto max-w-xl text-center">
<h2 class="text-2xl font-bold tracking-tight text-gray-900 sm:text-3xl dark:text-gray-100">
Your next release starts here
</h2>
<p class="mt-4 text-base leading-relaxed text-gray-600 dark:text-gray-400">
Spin up a project, invite the team and ship - all before your coffee cools.
</p>
<div class="mt-7 flex justify-center">
<a
href="#"
class="inline-flex w-full items-center justify-center rounded-lg bg-blue-600 px-5 py-2.5 text-sm font-semibold text-white transition-colors hover:bg-blue-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600 focus-visible:ring-offset-2 focus-visible:ring-offset-white motion-reduce:transition-none sm:w-auto dark:focus-visible:ring-blue-400 dark:focus-visible:ring-offset-gray-900"
>
Get started
</a>
</div>
</div>
</div>
</section>| Prop | Type | Default | Description |
|---|---|---|---|
titlerequired | string | - | Heading text for the card. |
copy | string | - | Body text shown under the title. |
ctaLabel | string | 'Get started' | Call-to-action button text. |
ctaHref | string | '#' | Destination for the call-to-action link. |
className | string | - | Additional classes merged onto the root element. |
The shadow is tuned per theme - `gray-900/5` on light, `black/20` on dark - because a light-mode shadow is invisible on a dark surface. The card content is centred and capped at `max-w-xl` so the measure stays readable inside the wider panel.