Company benefits photo stack — Careers block
Procareers-company-benefits-photo-stack · for careers, about pages
Company benefits photo stack
Pictures stacked in a column beside numbered benefit rows, the employee’s words as a pull quote at the foot: a workshop or a team with several good pictures; the merchant’s own quote and ratings 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/careers-company-benefits-photo-stackUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import CareersCompanyBenefitsPhotoStack from '@/components/trame/blocks/careers/careers-company-benefits-photo-stack.vue'
const props = {
title: "What the workshop gives you, in black and white",
lead: "Salary, time off and tools are settled before you arrive. The rest is a bright workshop and fourteen people who love what they do.",
benefits: [
{
title: "The salary in the job post",
text: "Every position shows its pay range. The offer you get stays within it, and the scale is the same for the whole workshop."
},
{
title: "Five weeks off, and the workshop closed at Christmas",
text: "Time off is planned at the start of the year. Between Christmas and New Year’s, the machines stop for everyone."
}
],
pictures: [
{
src: "https://images.unsplash.com/photo-1597960194599-22929afc25b1?w=1600&q=80",
alt: "A large joinery workshop under high skylights, with workbenches, boards and tools stored on shelves, bathed in sunlight"
},
{
src: "https://images.unsplash.com/photo-1659930087003-2d64e33181f7?w=1600&q=80",
alt: "A joiner’s hands pencil a mark on a pine board among the wood shavings, a chisel lying in front"
}
],
quote: {
text: "I came for the salary in the job post. I stayed because Christmas week really is closed, and nobody asks me to stay late.",
author: {
name: "Karim Benali",
role: "Fit-out joiner, since 2021",
avatar: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1600&q=80"
}
},
ratings: [
{
source: "Employer Ratings",
score: 4.8,
count: 31,
asOf: "as of September 2026",
url: "https://example.com/notes"
},
{
source: "Trade Reviews",
score: 4.6,
count: 18,
asOf: "as of September 2026"
}
]
}
</script>
<template>
<CareersCompanyBenefitsPhotoStack v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordswhat working there gives, in one sentence |
| lead | string | Wordsone or two sentences under the title |
| benefits* | Benefit[] | what working there gives, e.g. "Published salaries" |
| pictures | Picture[] | the merchant’s own pictures of the place and the people, one to three |
| quote | Quote | one real employee’s words, with their name and their job |
| ratings | Rating[] | public ratings the merchant copies with their source: never invented |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Benefit benefits[] · 2 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe benefit, short ("Published salaries") |
| text* | string | Wordswhat it is, concretely, in one or two sentences |
Picture pictures[] · 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 picture for those who do not see it |
Quote quote · 2 props
| Prop | Type | Description |
|---|---|---|
| text* | string | Wordsthe employee’s own words, signed |
| author* | Author | who said it |
Author quote.author · 6 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 |
Rating ratings[] · 5 props
| Prop | Type | Description |
|---|---|---|
| source* | string | Wordswhere the rating comes from (the platform’s name) |
| score* | number | the score as the platform shows it, out of 5 |
| count | number | how many reviews it rests on |
| asOf | string | Wordswhen the merchant read it ("checked in September 2026") |
| url | string | Designthe rating’s page on the platform |
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 |
| 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
A careers section, for careers, about pages; it uses @lucide/vue, clsx, motion, tailwind-merge.
More careers blocks
- Career ladder: the progression tracks with their levels and what each carries, above the openings: a house where one can grow.
- Hiring invitation band: one bar with the people who recruit, the number of openings and a button: a short invitation on a page of another subject.
- Hiring process steps: the hiring steps in numbered columns with their durations and one figure: when how you hire matters most.
- Open roles by team: openings grouped by team, each row with its place, contract and range: five openings or more.
- Open roles cards: one card per opening with its contract and place as chips: two to six openings that should look like an invitation, not a list.
- Open roles featured first: the first opening as a wide featured card, the others as compact cards in two columns: one opening matters more than the rest this quarter (put it first).
- Open roles grouped tiles: each team as a heading, its openings as small tiles in up to three columns: four or more teams with two or three openings each.
- Open roles team filter: team chips above a single list that filters the openings, all shown first: eight openings or more across several teams.