Centered CTA
A centred heading, sub-copy and a primary/secondary button pair - the default closing call-to-action.
3 個のフレームワーク初級
A heading over two buttons of equal weight - a genuine self-serve-or-demo decision.
<!--
Two paths of equal visual weight: a filled primary and a bordered secondary,
each sm:min-w-[11rem] so they read as a genuine either/or rather than a button
with an afterthought. They stack full-width below sm.
-->
<section class="mx-auto w-full max-w-3xl px-4 py-14 text-center sm:px-6 sm:py-20">
<h2 class="text-2xl font-bold tracking-tight text-gray-900 sm:text-4xl dark:text-gray-100">
Pick the path that fits your team
</h2>
<p class="mx-auto mt-4 max-w-xl text-base leading-relaxed text-gray-600 sm:text-lg dark:text-gray-400">
Self-serve in minutes, or let us walk you through it - either way, no card up front.
</p>
<div class="mt-8 flex flex-col gap-3 sm:flex-row sm: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 sm:min-w-[11rem] dark:focus-visible:ring-blue-400 dark:focus-visible:ring-offset-gray-900"
>
Start free
</a>
<a
href="#"
class="inline-flex w-full items-center justify-center rounded-lg border border-gray-300 bg-transparent px-5 py-2.5 text-sm font-semibold text-gray-700 transition-colors hover:bg-gray-100 hover:text-gray-900 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 sm:min-w-[11rem] dark:border-gray-700 dark:text-gray-300 dark:hover:bg-gray-800 dark:hover:text-gray-100 dark:focus-visible:ring-blue-400 dark:focus-visible:ring-offset-gray-900"
>
Book a demo
</a>
</div>
</section>| Prop | 型 | デフォルト | 説明 |
|---|---|---|---|
title必須 | string | - | カードの見出しテキスト。 |
copy | string | - | タイトルの下に表示される本文。 |
primaryLabel | string | 'Start free' | Primary label |
primaryHref | string | '#' | Primary href |
secondaryLabel | string | 'Book a demo' | セカンダリ操作に表示するテキスト。 |
secondaryHref | string | '#' | セカンダリ操作のリンク先。 |
Both buttons carry `sm:min-w-[11rem]` so the filled primary and the bordered secondary read as an even either/or rather than a button with an afterthought. They stack full width below `sm`.