Hiring process steps — Careers block
Procareers-hiring-process-steps · for careers pages
Hiring process steps
The hiring steps in numbered columns with their durations and one figure: when how you hire matters most
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-hiring-process-stepsUsage
Its demo data, shortened (Using blocks).
<script setup lang="ts">
import CareersHiringProcessSteps from '@/components/trame/blocks/careers/careers-hiring-process-steps.vue'
const props = {
title: "How we hire",
lead: "A team of eleven, one workshop, one shop. We don’t hire often, and we take our time.",
roles: [
{
title: "Leatherworker",
place: "Portland"
}
],
steps: [
{
title: "A first conversation",
text: "A phone call to get to know each other.",
duration: "30 minutes"
},
{
title: "A day at the workshop",
text: "You work with the team on a real project, and you’re paid for it.",
duration: "1 day"
}
],
cta: {
label: "Open application",
action: "contact"
},
stat: {
value: "18 days",
label: "on average between your application and our decision, across our 2025 hires"
}
}
</script>
<template>
<CareersHiringProcessSteps v-bind="props" />
</template>Props
Each prop says who changes it: Words, Picture, Action, Design, Data.* required.
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordswhat the page says ("Come and work with us") |
| lead | string | Wordsone sentence on how the team works or hires |
| roles | Role[] | Datathe real openings, if any: only used to say when there are none |
| steps* | Step[] | how hiring really works, in order |
| stat | Stat | one figure the merchant measured, e.g. "18 days" |
| cta | Cta | the call to action: its words and the page action it runs |
| fallback | string | Wordsthe line when nothing is open, with how to apply anyway ("No open position, but write to us at jobs@…") |
| options | Options | the block’s settings: layout choices and secondary words, read by every variant |
Role roles[] · 6 props
| Prop | Type | Description |
|---|---|---|
| id | string | number | the role’s id |
| title* | string | Wordsthe job’s title |
| team | string | Wordsits team ("Workshop", "Shop") |
| place* | string | Wordswhere it is ("Lyon", "Remote work") |
| type | string | Wordsthe contract ("Permanent contract", "Work-study") |
| salary | string | Wordsthe range, only if the merchant publishes it ("€32k to €38k gross / year") |
Step steps[] · 3 props
| Prop | Type | Description |
|---|---|---|
| title* | string | Wordsthe step ("A first conversation") |
| text | string | Wordswhat happens |
| duration | string | Wordshow long it takes, as the merchant states it ("30 minutes") |
Stat stat · 2 props
| Prop | Type | Description |
|---|---|---|
| value* | string | Wordsa figure the merchant measured ("18 days") |
| label* | string | Wordswhat it counts ("between the application and the answer") |
Cta cta · 3 props
| Prop | Type | Description |
|---|---|---|
| label* | string | Wordswhat happens ("See the jobs", "Open application") |
| 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 |
| 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 - Reads
jobsfrom your app
A careers section, for careers pages; it uses class-variance-authority, clsx, reka-ui, tailwind-merge.
Built with
The components this block is made of; each one installs on its own too.
More careers blocks
- 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.
- Company benefits picture beside: one picture beside the title, an employee’s words and the ratings, the benefits as ruled columns below: a careers page that opens on the people; the merchant’s own quote and ratings only.
- 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.
- 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.
- 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.