
Penguai can teach you Javascript
Learning JavaScript doesn't need to be difficult. Our penguin AI robot can learn how much you know and will go at your speed.
A flexible container that groups related content and actions — products, articles, testimonials, pricing, and more.

Learning JavaScript doesn't need to be difficult. Our penguin AI robot can learn how much you know and will go at your speed.
@card.Card(card.Config{
Image: "/assets/images/cards/card-img-1.webp",
ImageAlt: "A penguin robot talking with a human",
Tag: "Features",
Title: "Penguai can teach you Javascript",
Description: "Learning JavaScript doesn't need to be difficult...",
})Pass any templ.Component as Footer to add actions below the body.
Set Layout: card.LayoutHorizontal to place the image beside the content instead of above it.

Experience the next level of augmented reality with smart goggles integrating cutting-edge AI for seamless interaction with the world around you.
@card.Card(card.Config{
Layout: card.LayoutHorizontal,
Image: "/assets/images/cards/card-img-4.webp",
Tag: "Artificial Intelligence",
Title: "AI-Powered VR Goggles Redefine Reality",
Description: "Experience the next level of augmented reality...",
})An e-commerce recipe: compose a bordered article with card.StarRating, a price, and an Add to Cart button. (Config.Price/Rating are exposed but rendered by the caller, not the base template.)

The Casio G-Shock GA2100 is simply designed for easy timekeeping, featuring a sleek profile and clear display.
<article class="group flex rounded-radius max-w-sm flex-col overflow-hidden border border-outline bg-surface-alt ...">
<div class="h-44 md:h-64 overflow-hidden">
<img src="/assets/images/cards/card-img-3.webp" alt="CASIO G-SHOCK GA2100" />
</div>
<div class="flex flex-col gap-4 p-6">
<h3 class="text-lg font-bold">CASIO G-SHOCK GA2100</h3>
@card.StarRating(3)
<span class="text-xl font-medium">$99.99</span>
@button.Button(button.Config{Variant: button.Primary}) { Add to Cart }
</div>
</article>A pricing recipe using the primary border accent and a full-width CTA. Composed as a custom article.
Best tools for productivity
$8.99 Per month<article class="group flex rounded-radius max-w-xs flex-col overflow-hidden border-2 border-primary bg-surface-alt p-6 ...">
<span class="ml-auto w-fit rounded-radius bg-primary px-2 py-1 text-xs text-on-primary">TOP CHOICE</span>
<h3 class="text-xl font-bold">Premium</h3>
<span class="mt-8 text-3xl font-medium">$8.99</span>
<ul class="mt-4 list-inside list-disc space-y-2 text-sm">...</ul>
@button.Button(button.Config{Variant: button.Primary, RootClass: "w-full"}) { Start your free trial }
</article>A quote recipe pairing a person, role, and card.StarRating in the footer row.
Simply put, this software transformed my workflow! Its intuitive interface and powerful features make tasks a breeze. A game-changer for productivity!
<article class="group rounded-radius flex max-w-md flex-col border border-outline bg-surface-alt p-6 ...">
<svg class="size-12">...</svg>
<p class="mt-2 text-sm">Simply put, this software transformed my workflow!...</p>
<div class="flex mt-8 justify-between gap-6">
<div class="flex items-center gap-2">
<img src="/assets/images/avatars/avatar-1.webp" class="size-10 rounded-full" alt="Bob Johnson" />
<div><h3 class="font-bold">Bob Johnson</h3><span class="text-xs">CEO - TechNova</span></div>
</div>
@card.StarRating(4)
</div>
</article>| Prop | Type | Default | Description |
|---|---|---|---|
Image | string | "" | Card image URL (rendered above the body, or beside it in horizontal layout). |
ImageAlt | string | "" | Alt text for the image. |
Tag | string | "" | Optional category/tag shown above the title. |
Title | string | "" | Card title (also seeds the aria-describedby id). |
Description | string | "" | Body text. |
Footer | templ.Component | nil | Optional footer content (buttons, links, ratings) rendered below the body. |
Variant | Variant | Default | Style: "default" or "primary" (adds a 2px primary border accent). |
Layout | Layout | LayoutVertical | Layout: "vertical" (image top) or "horizontal" (image beside content). |
Price | string | "" | Exposed for ecommerce recipes; render via a custom Footer (base template does not emit it). |
Rating | int | 0 | Exposed for ecommerce recipes; render with card.StarRating in a Footer. |
RootClass | string | "" | Extra classes appended to the article container. |
No docs found.
Goshtoso can store preferences and demo state in your browser. Some examples use cookies and IndexedDB to persist local demo state. There is no analytics, advertising, or third-party tracking. You can use the site without storage, but preferences and some examples will reset or stop persisting. Details in our Privacy Policy.