Makers maker cards — About block
Proabout-makers-maker-cards · for about, product pages
Makers maker cards
One card per maker with the workshop’s picture, or its initials when there is none, then the name, the place, what they make and the year and audit at its foot: a handful of makers the merchant can show; 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/about-makers-maker-cardsUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import AboutMakersMakerCards from '@/components/trame/blocks/about/about-makers-maker-cards.vue'
const props = {
title: "The people who make it",
lead: "We visit every workshop at least once a year, and we publish the date.",
partners: [
{
name: "Filature Rinaldi",
place: "Biella, Italy",
role: "Merino wool spinning",
since: "2018",
audit: "March 2026",
certification: "RWS",
image: "https://images.unsplash.com/photo-1695898341950-6b78780c1458?w=1600&q=80",
alt: "Looms lined up in a workshop"
},
{
name: "Martin Sewing Workshop",
place: "Portland, Oregon",
role: "Knitting and finishing",
since: "2020",
audit: "January 2026"
}
],
footnote: "We left a dye house in 2024: its wastewater no longer met our standards."
}
</script>
<template>
<AboutMakersMakerCards v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordswhat the page says about who makes the products ("The makers") |
| lead | string | Wordsone sentence on how the merchant chooses and visits them |
| partners* | Partner[] | Datathe makers the merchant really works with |
| footnote | string | Wordsa line on the makers we left, or how often audits are done |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Partner partners[] · 8 props
| Prop | Type | Description |
|---|---|---|
| name* | string | Wordsthe maker’s name, as they call themselves |
| place* | string | Wordswhere they work ("Biella, Italy") |
| role | string | Wordswhat they make for the shop ("Weaving scarves") |
| since | string | Wordsthe year the collaboration began, as written ("2018") |
| audit | string | Wordsthe date of the last audit, as written ("March 2026") |
| certification | string | Wordsa certification the maker really holds ("GOTS"): it needs an audit date |
| image | string | Picturea picture: a root-relative path (/media/…) or an absolute URL |
| alt | string | Wordswhat the picture shows |
Options options · 1 props
| Prop | Type | Description |
|---|---|---|
| mood | 'inverse' | 'brand' | 'warm' | 'tint' | string | a 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).
| Member | What it is for |
|---|---|
| href | the address an action leads to, or null to hide what leads there |
| act | runs a change (subscribe, add to cart, save) and answers { ok } or { ok: false, error } |
| can | whether the page has this action |
| asset | a picture’s address as your app serves it |
| cartCount | the cart badge’s number |
| cartDrawer | whether your app has a cart drawer |
| cartOpen | whether the cart drawer is open |
| label | your 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:
| Key | English | French |
|---|---|---|
| newsletter.already | You are already subscribed. | Vous êtes déjà inscrit. |
| newsletter.done | Done: you are subscribed. | C’est noté : vous êtes inscrit. |
| newsletter.invalid | Check the email address. | Vérifiez l’adresse e-mail. |
| newsletter.tooMany | Too 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 about section, for about, product pages; it uses @lucide/vue, clsx, motion, tailwind-merge.
More about blocks
- Founder letter: a signed letter in one narrow column, salutation, paragraphs, signature and date: one voice speaking to the customer; the merchant’s own only.
- Intro long prose: a wide headline then up to three paragraphs in a readable column: when there is real story to read.
- Intro rail lead: an editorial about page: the eyebrow as a quiet label in a left rail, the title, a large first paragraph and the others smaller at the right, the action as a text link.
- Intro split title: a short intro where the title and the words weigh the same: a very large title at the left, the paragraphs at the right on its last line.
- Intro statement: one very large sentence and a supporting line, nothing else: a strong conviction between two sections.
- Manifesto lit: the conviction alone, very large, its words lighting up one after the other as it scrolls by at the expressive level: a calm statement elsewhere; the merchant’s own only.
- Manifesto split: the conviction beside a tall picture of the brand (its workshop, its people, its ground); the merchant’s own only.
- Personal intro client ledger: a small round portrait and the role, the bio in two columns, then a ruled ledger of clients and project counts: a freelancer whose track record is the argument; the person’s own clients and counts only.