Company benefits ratings first — Careers block

Pro

careers-company-benefits-ratings-first · for careers, about pages

Company benefits ratings first

The public ratings set large on top, the title and the quote beside the benefits, one wide picture closing: when the ratings are good and well sourced; 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-ratings-first

Usage

Its demo data, shortened (Using blocks).

<script setup lang="ts">
import CareersCompanyBenefitsRatingsFirst from '@/components/trame/blocks/careers/careers-company-benefits-ratings-first.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>
<CareersCompanyBenefitsRatingsFirst v-bind="props" />
</template>

Props

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

PropTypeDescription
title*stringWordswhat working there gives, in one sentence
leadstringWordsone or two sentences under the title
benefits*Benefit[]what working there gives, e.g. "Published salaries"
picturesPicture[]the merchant’s own pictures of the place and the people, one to three
quoteQuoteone real employee’s words, with their name and their job
ratingsRating[]public ratings the merchant copies with their source: never invented
optionsOptionsthe block’s settings: layout choices and secondary words, read by every variant
Benefit benefits[] · 2 props
PropTypeDescription
title*stringWordsthe benefit, short ("Published salaries")
text*stringWordswhat it is, concretely, in one or two sentences
Picture pictures[] · 2 props
PropTypeDescription
src*stringPicturea picture: a root-relative path (/media/…) or an absolute URL
alt*stringWordswhat the picture shows: required, it is the picture for those who do not see it
Quote quote · 2 props
PropTypeDescription
text*stringWordsthe employee’s own words, signed
author*Authorwho said it
Author quote.author · 6 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
Rating ratings[] · 5 props
PropTypeDescription
source*stringWordswhere the rating comes from (the platform’s name)
score*numberthe score as the platform shows it, out of 5
countnumberhow many reviews it rests on
asOfstringWordswhen the merchant read it ("checked in September 2026")
urlstringDesignthe rating’s page on the platform
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
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

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.

All 15 careers blocks