shadcn.io is not affiliated with official shadcn/ui
Career Path Spotlights About Block for React
An employee spotlight for a film-crew planning company, with four people in a vertical tab list and the open profile as a three-step career path, three answers, and a tenure badge.
Installation
Overview
A career-path spotlight for React with Base UI, written for Cuesheet, a fictional production planner for film crews. A compact header sits over a master and detail: at the start a vertical list of four names, each with the role in its margin; behind a divider, the open profile with initials, a tenure badge, a short fact, a three-node path (joined as, then, now) and three answers. An unseen copy of every profile holds the panel at the tallest, so choosing a person never moves the page. On a phone the names become a row of chips that scrolls. It's built from Tabs, Avatar, Badge and Guides, with CSS for the entrance and your theme's tokens for every colour. For an about page that introduces a few people through the jobs they grew into. The people, the paths and the answers are example data.
FAQ
How do I change the people?
Edit PEOPLE at the top of the file. Each person has a name, a role, a tenure in years, a fact, the three path labels joined, later and now, and three answers (a normal Tuesday, what the job turned out to be, and advice). The initials and the "Here N years" badge are derived. A new person becomes a new row and a new panel.
How do the tabs work with a keyboard?
The list stays a vertical tab list, including on a phone where it looks like a row of chips, so Up and Down move between the names, Home and End jump to the first and last, and Tab moves into the open profile. The open row is the selected tab, marked by a bar on a large screen and a filled chip on a phone.
Why doesn't the page move when I pick a person?
The profiles differ in length. An unseen, inert copy of every profile sits in the same grid cell as the open one, so the cell keeps the height of the tallest. Those copies are out of the accessibility tree and the tab order.
Is another person's profile in the page?
The open profile is the one mounted in the tab panel. The other profiles are not mounted there. The inert copies used to hold the height stay in the HTML, hidden from assistive technology, and are not a second set of profiles to read.
Related
- Pro
Advisory Board About
Team and leadersAn advisory board for a legal-software company: five advisors in an accordion, each with the practices they cover, why they advise, and one piece of advice.
- Pro
Headcount Stacked Chart About
Team and officesHeadcount over six years as stacked columns by department, where choosing a year (focus, hover or tap) lists its departments with counts and shares.
- Pro
Behind the Scenes About
Culture and valuesOne Tuesday at a theatre-software company, by department: an accordion of Support, Infrastructure and Design, each with that day's numbers, tools and an honest note.
- Pro
Vertical Tabs Lessons Learned
TimelinesA lessons-learned section for a retrospectives tool: a vertical tab list of six post-mortems with the year each happened, and the open one as what happened, what we learned and what changed.
- Pro
Culture Rituals About
Culture and valuesA team's rituals sorted by how often they happen: three bands, every week, every quarter and every year, each with three cells that say what the ritual is, who comes and how long it takes.
- Pro
Alumni Network About
CareersWhere a mentoring platform's alumni went: a ranked list of destinations with bars, and one alumna on a framed card with the line from her old role to her new one.