Speakers solid backdrops — Team block
Proteam-speakers-solid-backdrops · for event, landing, home pages
Speakers solid backdrops
Arch portraits standing on flat colour tiles with the name beneath: a lively or youthful event
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/team-speakers-solid-backdropsUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import TeamSpeakersSolidBackdrops from '@/components/trame/blocks/team/team-speakers-solid-backdrops.vue'
const props = {
heading: "Who’s speaking",
lead: "Twelve makers, shopkeepers and instructors, confirmed for the two days of the gathering.",
speakers: [
{
id: "sp-1",
name: "Camille Lenoir",
role: "Founder",
company: "Atelier Lenoir",
avatar: "https://images.unsplash.com/photo-1580489944761-15a19d654956?w=900&h=1100&fit=crop&q=80",
talk: "Making what we make last",
track: "Main Hall",
time: "9:30 a.m.",
keynote: true,
action: "speaker"
},
{
id: "sp-2",
name: "Marc Dubois",
role: "Cabinetmaker",
company: "Wood & Thread",
avatar: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=900&h=1100&fit=crop&q=80",
talk: "The first workshop, with no capital",
track: "Main Hall",
time: "10:30 a.m.",
keynote: true,
action: "speaker"
}
]
}
</script>
<template>
<TeamSpeakersSolidBackdrops v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| heading* | string | Wordswhat the section says ("Who will speak") |
| lead | string | Wordsone sentence on the programme |
| speakers* | Speaker[] | Datathe confirmed speakers only, as the organiser lists them |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Speaker speakers[] · 11 props
| Prop | Type | Description |
|---|---|---|
| id | string | number | Datathe record’s id in the tool that answers it |
| name* | string | Wordsthe person’s name |
| role | string | Wordstheir role or job title |
| company | string | Wordswhere they work |
| avatar | string | Picturea picture: a root-relative path (/media/…) or an absolute URL |
| url | string | Designa page about them |
| talk | string | Wordsthe title of their talk, as the organiser announced it |
| track | string | Wordsthe track or room ("Workshop room") |
| time | string | Wordstheir slot as the organiser wrote it ("10:30"), never computed |
| keynote | boolean | true: a keynote speaker, shown larger |
| action | string | Actionthe page of the speaker or of their talk |
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:
speakers[] - Reads
speakersfrom your app
A team section, for event, landing, home pages; it uses clsx, motion, tailwind-merge.
Built with
The components this block is made of; each one installs on its own too.
More team blocks
- Practitioner list directory: a compact list grouped by profession, small portrait, one line of detail and a booking link per row: a large practice with several professions.
- Practitioner list spotlight: one large portrait per practitioner in alternating rows with the details beside it: one to four people the practice wants to introduce properly.
- Profile card centered: a contact or a seller in a side column: the portrait centred on top, the words under it and two equal buttons at the foot; the merchant’s own people only.
- Profile card cover banner: a creator or a community member: a cover strip, the portrait over its edge with the actions beside it, then bio, links, a ruled row of figures and the tags.
- Profile card portrait: a person whose face is the argument (a coach, an artist): the picture fills the top of the card, name, figures and the main action on a solid foot.
- Profile card row: a person inside a list or beside an article: a horizontal card, the portrait left, name, headline and a two-line bio, the links and the actions at the right.
- Side mosaic: the title, the lead and the link in the left third, a tight mosaic of portraits on the right with name and role on each picture’s foot: four to six people on a team page where the words lead and the faces support; the merchant’s own only.
- Staggered portraits: tall portraits in one row at different heights and drops, the title and the link in a header line: three to six people with good portraits, for a studio or a small shop that wants its team to feel editorial; the merchant’s own only.