Annual letter split — About block

Pro

about-annual-letter-split · for about pages

Annual letter split

An eyebrow with the period, a title and short parts (what worked, what did not, what comes next): a yearly review the author signs; 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-annual-letter-split

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import AboutAnnualLetterSplit from '@/components/trame/blocks/about/about-annual-letter-split.vue'

const props = {
title: "Our 2025 season, from the boathouse",
body: [
"Every winter, once the boats are racked and the river is too high to row, I go back over our season with the committee. Here is what 2025 taught Riverside Rowing Club."
],
sections: [
{
heading: "What worked",
text: "Learn-to-row filled every course from April to September, and 41 newcomers stayed on as members. The junior squad brought home its first regatta medal in six years."
},
{
heading: "What went wrong",
text: "We lost three weeks of water in June to flooding, and the boathouse roof repair ran late. We drew a simple rule from it: no outing is booked without a safety boat and a dry plan B on the rowing machines."
}
],
author: {
name: "Sam Whitaker",
role: "Head coach, Riverside Rowing Club",
avatar: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=1600&q=80"
},
date: "At the boathouse, January 12, 2026",
options: {
eyebrow: "2025 in review",
closing: "See you on the water.",
revised: "Added the paragraph about the June floods."
}
}
</script>

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

Props

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

PropTypeDescription
title*stringWordswhat the letter is about, in a few words ("Why we do this work")
salutationstringWordshow the letter opens ("Dear customer,")
body*string[]Wordsone paragraph, in the author’s own words
sections*Section[]the review, in short parts, for the annual variant: what worked, what did not, what comes next
author*AuthorDatathe real person who writes and signs: name and role
datestringWordsthe date as the author wrote it ("Lyon, 3 March 2026"): never computed
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Section sections[] · 2 props
PropTypeDescription
heading*stringWordswhat the paragraph covers ("What worked")
text*stringWordswhat the author says about it
Author author · 6 props
PropTypeDescription
idstring | numberDatathe record’s id in the tool that answers it
name*stringWordsthe person’s name
rolestringWordstheir role or job title
companystringWordswhere they work
avatarstringPicturea picture: a root-relative path (/media/…) or an absolute URL
urlstringDesigna page about them
Options options · 4 props
PropTypeDescription
eyebrowstringWordsthe period or the occasion ("2025 review", "A letter from the workshop")
closingstringWordsthe closing line before the signature ("Thank you for following us.")
revisedstringWordsa note when the letter was revised ("Revised on 12 April 2026: added the paragraph on lead times.")
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
asseta picture’s address as your app serves it
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
  • No motion; still under reduced motion
  • Real buttons and links, a visible focus

A about section, for about pages; it uses @vueuse/core, clsx, reka-ui, tailwind-merge.

Built with

The components this block is made of; each one installs on its own too.

More about blocks

  • Build criteria questions: how the merchant picks what to build, as four questions: explaining the choices, not listing them.
  • Commitments cards: cards with the rule, its text and what it costs the merchant: when honesty about the trade-off is the point; the merchant’s own only.
  • Commitments numbered rows: large numerals, a title and two lines per rule: an ordered list of three to twelve principles; the merchant’s own only.
  • Company facts list: a plain label and value list with the claim in prose beside it: the company’s facts in one place; the merchant’s own only.
  • Emphasized statement underlined: the conviction set large and centred, one key phrase underlined or highlighted: a short statement with one idea to keep; the merchant’s own only.
  • 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.

All 35 about blocks