Personal intro client ledger — About block

Pro

about-personal-intro-client-ledger · for about, portfolio pages

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

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-personal-intro-client-ledger

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import AboutPersonalIntroClientLedger from '@/components/trame/blocks/about/about-personal-intro-client-ledger.vue'

const props = {
name: "Helen Marchal",
role: "Independent ceramicist in Portland",
bio: [
"I throw tableware for restaurants and homes that want pieces made just for them. Every order starts with a meal at your place, to see what the plate needs to hold.",
"I learned the craft in Seagrove, then opened my studio in Portland’s Pearl District in 2014. I work with Hudson Valley stoneware clay and glazes I mix myself."
],
portrait: {
src: "https://images.unsplash.com/photo-1762628727567-250080e7e9a3?w=1600&q=80",
alt: "A ceramicist with curly gray hair and a black apron cuts a slab of clay on her workbench, a small pitcher on a banding wheel beside her"
},
facts: [
{
label: "Studio",
value: "Portland, Pearl District"
},
{
label: "Availability",
value: "Taking new orders from March"
}
],
offer: [
{
title: "Restaurant tableware",
text: "Plates, bowls and cups designed with the chef, in runs of fifty to five hundred pieces."
},
{
title: "One-of-a-kind pieces",
text: "Vases and serving dishes, by appointment at the studio."
}
],
clients: [
{
name: "The Weavers’ Bistro",
count: 9
},
{
name: "Three Courts Hotel",
count: 6
}
],
cta: {
label: "Pitch me a project",
action: "contact"
}
}
</script>

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

Props

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

PropTypeDescription
name*stringWordsthe person’s name, as they sign
role*stringWordswhat they do, in a few words ("Independent ceramicist")
bio*string[]Wordsone paragraph, in the first person
portraitPortraitthe person’s portrait
factsFact[]the facts shown, in order
offerOffer[]what the person does, one row per kind of work
clientsClient[]the person’s own clients, named with their agreement
ctaCtathe call to action: its words and the page action it runs
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Portrait portrait · 2 props
PropTypeDescription
src*stringPicturea picture: a root-relative path (/media/…) or an absolute URL
alt*stringWordswhat the picture shows: required, it is the person for those who do not see it
Fact facts[] · 2 props
PropTypeDescription
label*stringWordswhat the fact is ("Workshop", "Availability")
value*stringWordsthe fact as the person writes it ("Lyon, Croix-Rousse"); never a live clock
Offer offer[] · 2 props
PropTypeDescription
title*stringWordsone kind of work ("Restaurant tableware")
textstringWordswhat it is, in one sentence
Client clients[] · 2 props
PropTypeDescription
name*stringWordsa client’s name, with their agreement
countnumberthe projects done together, as the person counts them
Cta cta · 3 props
PropTypeDescription
label*stringWordswhat happens ("Suggest a project")
action*stringActiona named action of the page
recordRecord<string, unknown>Datathe record the action opens, if any
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
asseta picture’s address as your app serves it
Linkyour router’s link component
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
  • Asks your app through actions: cta

A about section, for about, portfolio pages; it uses @lucide/vue, class-variance-authority, clsx, motion, reka-ui, tailwind-merge.

More about blocks

  • Intro statement: one very large sentence and a supporting line, nothing else: a strong conviction between two sections.
  • 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.
  • Makers partner list: rows of name, place and what they make, with the year and the audit in small figures: the real list of makers.
  • 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.
  • Phrase band one row: one line of the brand’s phrases in very large type passing slowly across the full width between two hairlines, still and wrapped below the expressive level: a pause between two sections that says the house’s voice in a few words (the merchant’s own phrases only).
  • Phrase band tilted: the phrases on a filled ribbon crossing the page at a slight angle, over a fainter ribbon tilted the other way: a playful, poster-like break for a launch, a collection or a brand page (the merchant’s own phrases only).
  • Phrase band two rows: two lines travelling in opposite directions, the phrases in solid type above their outlined echo, offset by half a phrase: a bolder typographic interlude for an editorial home or a lookbook (the merchant’s own phrases only).

All 35 about blocks