Personal intro wide cover columns — About block
Proabout-personal-intro-wide-cover-columns · for about, portfolio pages
Personal intro wide cover columns
The name set large over one wide picture of the person at work, then three columns (about, bio, facts and clients): a studio-like portfolio page with a strong picture; the person’s own clients 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-wide-cover-columnsUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import AboutPersonalIntroWideCoverColumns from '@/components/trame/blocks/about/about-personal-intro-wide-cover-columns.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>
<AboutPersonalIntroWideCoverColumns v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| name* | string | Wordsthe person’s name, as they sign |
| role* | string | Wordswhat they do, in a few words ("Independent ceramicist") |
| bio* | string[] | Wordsone paragraph, in the first person |
| portrait | Portrait | the person’s portrait |
| facts | Fact[] | the facts shown, in order |
| offer | Offer[] | what the person does, one row per kind of work |
| clients | Client[] | the person’s own clients, named with their agreement |
| cta | Cta | the call to action: its words and the page action it runs |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Portrait portrait · 2 props
| Prop | Type | Description |
|---|---|---|
| src* | string | Picturea picture: a root-relative path (/media/…) or an absolute URL |
| alt* | string | Wordswhat the picture shows: required, it is the person for those who do not see it |
Fact facts[] · 2 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat the fact is ("Workshop", "Availability") |
| value* | string | Wordsthe fact as the person writes it ("Lyon, Croix-Rousse"); never a live clock |
Offer offer[] · 2 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsone kind of work ("Restaurant tableware") |
| text | string | Wordswhat it is, in one sentence |
Client clients[] · 2 props
| Prop | Type | Description |
|---|---|---|
| name* | string | Wordsa client’s name, with their agreement |
| count | number | the projects done together, as the person counts them |
Cta cta · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat happens ("Suggest a project") |
| action* | string | Actiona named action of the page |
| record | Record<string, unknown> | Datathe record the action opens, if any |
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 |
| Link | your router’s link component |
| 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
- 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
- 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).
- Pictures bento pair: the words beside a mosaic of a tall, a wide and two small pictures: a rich story with four pictures of the making; the merchant’s own pictures only.
- Pictures cover overlay: the title and the first paragraph over one full-width picture, the rest under it: when the picture is the statement; the merchant’s own pictures only.