Awards focus list — Press block

Free

press-awards-focus-list · for home, about, landing pages

Awards focus list

The titles in large type, one active at a time with its year and issuer beside it: a studio or maker whose four to eight distinctions carry the page (the merchant’s own only)

Documentation

Installation

One command copies the block into your project with the shadcn CLI (the registry is set once: Installation).

pnpm dlx shadcn-vue@latest add @trame/press-awards-focus-list

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import PressAwardsFocusList from '@/components/trame/blocks/press/press-awards-focus-list.vue'

const props = {
heading: "Awards and labels",
lead: "The prizes we have received, and who gave them to us.",
items: [
{
title: "Responsible Craftsmanship Award",
issuer: "Northwest Crafts Guild",
year: "2025",
citation: "A house that repairs what it sells and says so plainly.",
category: "Leather goods category",
place: "Seattle",
url: "https://example.org/cma-nord/prix-2025"
},
{
title: "Made in the USA label",
issuer: "American Origin Association",
year: "2024",
url: "https://example.org/origine-france"
}
]
}
</script>

<template>
<PressAwardsFocusList v-bind="props" />
</template>

Props

Each prop says who changes it: Words, Picture, Action, Design, Data.* required.

PropTypeDescription
headingstringWordswhat these distinctions are ("Awards and labels")
leadstringWordsone sentence of context
itemsItem[]the items shown, in order
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Item items[] · 11 props
PropTypeDescription
title*stringWordsthe name of the prize, label or certification, as its issuer writes it
issuer*stringWordswho gave it
year*stringWordsthe year it was received, as the merchant writes it ("2024")
imagestringPicturethe badge or label file as the issuer supplied it: never a drawn medal
altstringWordswhat the badge shows, when its words are not around it
citationstringWordswhat the issuer said about the merchant, or the reason of the award
categorystringWordsthe category or the edition ("Craft, furniture category")
placestringWordswhere it was given
urlstringDesignthe issuer’s page about this award (https://…)
heldbooleancriteria: whether the merchant holds it today (true) or is working towards it (false); absent: not stated
criteriaCriteria[]the label’s public criteria, each met or not
Criteria items[].criteria[] · 2 props
PropTypeDescription
label*stringWordsone public criterion of the label
metbooleanwhether the merchant meets it: absent means not stated
Options options · 1 props
PropTypeDescription
mood'inverse' | 'brand' | 'warm' | 'tint' | stringa band of the page that redefines the theme surfaces inside it
What it asks your app for

The block never knows your app: it asks it, through one context provided once, where its links lead, what its actions do, how a price reads and which words to say (The host context).

MemberWhat it is for
hrefthe address an action leads to, or null to hide what leads there
actruns a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error }
canwhether the page has this action
cartCountthe cart badge’s number
cartDrawerwhether your app has a cart drawer
cartOpenwhether the cart drawer is open
labelyour word for an interface key, or undefined to keep the block’s own

The words it says itself, in English and French; label(key) replaces any of them:

KeyEnglishFrench
newsletter.alreadyYou are already subscribed.Vous êtes déjà inscrit.
newsletter.doneDone: you are subscribed.C’est noté : vous êtes inscrit.
newsletter.invalidCheck the email address.Vérifiez l’adresse e-mail.
newsletter.tooManyToo many attempts, try again in a moment.Trop de tentatives, réessayez dans un moment.

Features

  • Every word in the server HTML
  • Same markup in Vue and React
  • Theme tokens only: every theme, light and dark
  • Shows what you give it, invents nothing
  • Subtle motion: one short reveal; still under reduced motion
  • Real buttons and links, a visible focus

A press section, for home, about, landing pages; it uses @lucide/vue, clsx, motion, tailwind-merge.

More press blocks

  • Assets tiles: the files as cards with thumbnails, grouped by kind, under a short text: a brand whose logos and photos are the point; the merchant’s own only.
  • Kit columns: a fact sheet: key facts in a column, the presentation beside them, the files and the contact below on a tint: a young brand with few files; the merchant’s own only.
  • Kit dossier: the brand’s text on one side and its files as a list of rows with format and size on the other: the usual press page; the merchant’s own only.
  • Media proof photo grid: square customer photos with a short caption and the author under each: a wall of real use; the merchant’s own only.
  • Media proof post wall: cards with the handle, the source, the date and the words of social posts: when the words matter as much as the picture; the merchant’s own only.
  • Media proof video row: poster cards linking out to customers’ videos, with their length and creator: nothing plays on the page; the merchant’s own only.
  • Mentions featured quote: one real sentence told large with its outlet, the other mentions as small lines under it: one strong mention, or a single one.
  • Mentions grouped: the mentions gathered under their outlet, each outlet at the left with its dated pieces at the right: several pieces from the same outlets.

All 17 press blocks