Centered CTA
A centred heading, sub-copy and a primary/secondary button pair - the default closing call-to-action.
3 frameworksBeginner
Copy and a button on one side, a pure-CSS gradient media panel on the other, stacked on mobile.
<!--
The media column is a pure-CSS gradient panel with a decorative inline SVG, so
there is no image to preload or let rot. It is aria-hidden because it
illustrates rather than carries meaning. On mobile the grid stacks, copy first.
-->
<section class="mx-auto w-full max-w-6xl px-4 py-12 sm:px-6 sm:py-16">
<div class="grid overflow-hidden rounded-2xl border border-gray-200 bg-white md:grid-cols-2 dark:border-gray-800 dark:bg-gray-900">
<div class="flex flex-col justify-center p-8 sm:p-10">
<h2 class="text-2xl font-bold tracking-tight text-gray-900 sm:text-3xl dark:text-gray-100">
Bring your whole workflow together
</h2>
<p class="mt-4 text-base leading-relaxed text-gray-600 dark:text-gray-400">
Plan, build and ship without switching tabs - one place for the whole team.
</p>
<div class="mt-7">
<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
class="relative min-h-[12rem] overflow-hidden bg-gradient-to-br from-blue-500 via-indigo-500 to-purple-600"
aria-hidden="true"
>
<svg class="absolute inset-0 h-full w-full text-white/20" preserveAspectRatio="xMidYMid slice" viewBox="0 0 200 200" fill="none">
<circle cx="60" cy="60" r="50" stroke="currentColor" stroke-width="8" />
<circle cx="150" cy="130" r="70" stroke="currentColor" stroke-width="8" />
</svg>
</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. |
The media column is a gradient with a decorative inline SVG rather than a shipped image, so there is nothing to preload or let rot, and it is `aria-hidden` because it illustrates rather than informs. The grid collapses to one column below `md`, keeping the copy above the panel in reading order.