molecules
Award card
A card for a single award that maps an award record's card data onto the shared card component.
Specimens

Webby Award
Winner in the eLearning category.
{{ Award.render({
title: "Webby Award",
description: "Winner in the eLearning category.",
url: "/work/",
image: (collections.projectPages | filterByKey("slug", "live-hope-love") | first).featuredImage
}) }}Params
| Param | Type | Description |
|---|---|---|
award | object | Award record. Its card object supplies fallback values. |
card | object | Fallback record, used when award.card is absent. |
title | string | Defaults to card.title, then “Untitled award”. |
image | Sanity image or string | Defaults to card.image. |
url | string | Defaults to card.url. |
description | string | Defaults to card.description. |
meta | array | Defaults to card.meta. |
classes | string, variant map, or array | Passed to the card. |
styles | object | Passed to the card. See the slot table. |
| Slot | Element |
|---|---|
image | The card’s media element (<img> or <video>). |
Notes
Award records in the CMS carry no card data yet, so callers pass the fields directly.