Pricing Card
A single pricing tier with a feature list, price and call to action.
6 फ्रेमवर्कशुरुआती
A media card with the image beside the content that stacks vertically on mobile.
<article class="h-card">
<img class="h-card__image" src="/your-image.jpg" alt="" width="160" height="160" />
<div class="h-card__body">
<p class="h-card__kicker">Workshop · 2 hours</p>
<h3 class="h-card__title">
<a class="h-card__link" href="#">Debugging performance with the Profiler</a>
</h3>
<p class="h-card__copy">
Record a real session, read the flame graph, and find the one component re-rendering forty times a second.
</p>
</div>
</article>| Prop | टाइप | डिफ़ॉल्ट | विवरण |
|---|---|---|---|
titleआवश्यक | string | - | कार्ड की हेडिंग टेक्स्ट। |
hrefआवश्यक | string | - | कार्ड जिस जगह लिंक करता है। |
copyआवश्यक | string | - | टाइटल के नीचे दिखने वाला मुख्य टेक्स्ट। |
kicker | string | - | टाइटल के ऊपर दिखने वाला छोटा लेबल। |
imageSrcआवश्यक | string | - | कार्ड की तस्वीर के लिए इमेज URL। |
imageAlt | string | '' | इमेज के लिए वैकल्पिक टेक्स्ट। जब title में पहले से नाम हो तो खाली रखें। |
className | string | - | रूट एलिमेंट पर मर्ज होने वाली अतिरिक्त क्लासेज़। |
One breakpoint does the work: `flex-col` stacks by default and `sm:flex-row` puts the image on the left, with `sm:self-stretch` making it match the copy's height instead of leaving a gap. Like the blog card, the title link stretches over the whole surface, so the card is one target and one announced name. Widen `sm:w-40` for a heavier image and the text column simply takes what is left.