Speakers solid backdrops — Team block

Pro

team-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-backdrops

Usage

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.

PropTypeDescription
heading*stringWordswhat the section says ("Who will speak")
leadstringWordsone sentence on the programme
speakers*Speaker[]Datathe confirmed speakers only, as the organiser lists them
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Speaker speakers[] · 11 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
talkstringWordsthe title of their talk, as the organiser announced it
trackstringWordsthe track or room ("Workshop room")
timestringWordstheir slot as the organiser wrote it ("10:30"), never computed
keynotebooleantrue: a keynote speaker, shown larger
actionstringActionthe page of the speaker or of their talk
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: speakers[]
  • Reads speakers from 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.

All 23 team blocks