Centered Hero
A centred headline, sub-copy and a pair of CTAs under an eyebrow badge - the default landing hero.
6 फ्रेमवर्कशुरुआती
A pill announcement link above the headline, pairing a launch note with the main hero CTA.
<section class="mx-auto w-full max-w-3xl px-4 py-12 text-center sm:py-16">
<!-- The banner is a single link: the whole pill is the target, so there is no
tiny "read more" tap area. It wraps its text rather than overflowing at
320px, and the arrow is decorative. -->
<a href="#" class="inline-flex max-w-full flex-wrap items-center justify-center gap-x-2 gap-y-1 rounded-full border border-gray-200 bg-gray-50 px-4 py-1.5 text-sm text-gray-700 transition-colors hover:bg-gray-100 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-blue-600 dark:border-gray-800 dark:bg-gray-900 dark:text-gray-300 dark:hover:bg-gray-800">
<span class="rounded-full bg-blue-600 px-2 py-0.5 text-xs font-semibold text-white">New</span>
<span class="font-medium">Version 3.0 is live - see what changed</span>
<span aria-hidden="true" class="text-gray-400">→</span>
</a>
<h1 class="mt-6 text-3xl font-bold leading-tight tracking-tight text-gray-900 sm:text-5xl dark:text-gray-100">
The fastest way to ship your next idea
</h1>
<p class="mx-auto mt-4 max-w-xl text-base leading-relaxed text-gray-600 dark:text-gray-400">
From prototype to production without leaving the editor.
</p>
<a href="#" class="mt-7 inline-flex 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 dark:focus-visible:ring-blue-400 dark:focus-visible:ring-offset-gray-900">
Start free trial
</a>
</section>| Prop | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
titleआवश्यक | string | - | कार्ड की हेडिंग टेक्स्ट। |
copy | string | - | टाइटल के नीचे दिखने वाला मुख्य टेक्स्ट। |
bannerLabel | string | 'New' | Banner label |
bannerTextआवश्यक | string | - | Banner text |
bannerHref | string | '#' | Banner href |
ctaLabel | string | 'Start free trial' | कॉल-टू-एक्शन बटन का टेक्स्ट। |
ctaHref | string | '#' | कॉल-टू-एक्शन लिंक का डेस्टिनेशन। |
className | string | - | रूट एलिमेंट पर मर्ज होने वाली अतिरिक्त क्लासेज़। |
The banner is one link - the entire pill is the target, so there is no tiny "read more" hotspot - built from `bannerLabel`, `bannerText` and `bannerHref`. It wraps rather than overflowing at 320px, and its trailing arrow is decorative. Below it sits the usual headline, sub-copy and primary CTA.