shadcn.io is not affiliated with official shadcn/ui
Stacked Profiles Team Block for React
Three leaders of a freight brokerage as editorial bands: a large initials plate with name, role and tenure at the start, and a bio with an Ask me about line of topics at the end, split by a solid divider.
Installation
Overview
A team section for React with Base UI, for Tollbrook, a freight brokerage. Three leaders each get a full-width band: at the start a large square initials plate with the name, the role and the years at the company ("Year 7, since the first load"), and at the end a short bio and an "Ask me about" line of topics. A solid divider splits each band, with + marks where it meets the band's rule, and the last band ends the block. On a phone the plate sits above its text, as a compact row with the name, and each bio shows three lines. It's built from Avatar, Badge and Guides, with a CSS entrance and your theme's tokens for every colour. For a leadership section of an about page, where three people deserve a paragraph each.
FAQ
How do I change the leaders and their topics?
Edit LEADERS at the top of the file. A leader is a name, a role, a tenure, a bio, an ask list of topics and a plate (one of three greyscale pairs). The initials come from the name. Three bands fill the block; with more, the section gets longer, so past four consider a grid instead.
Why is the tenure written as a year of the company?
A calendar year goes stale. "Year 7, since the first load" stays true as long as you update it once a year, and it tells the reader more than a start date would. Replace it with any text you like.
How is it marked up?
As a list of articles: each leader is an li holding an article with the name in an h3, and the topics are a list of their own. The plate is decorative, so it is hidden from screen readers; the name next to it says the same thing.
How does it fit on a phone?
Below lg each band stacks: the plate shrinks to a small square beside the name, role and tenure, and the text follows underneath. Each bio is clamped to three lines on screens narrower than sm so three leaders stay within about two screens; the full text is still in the page, so a screen reader reads it all.
How are the lines drawn?
Each band draws its own top rule with Guides, so the + marks land on the rule where it meets the rails, and the divider between plate and text is a start border with a mark where it meets that rule. No band draws a bottom rule, so the last one ends the block and the next block's top rule closes it.
Related
- Pro
Grid Cards Team
Grids and wallsTwelve people of a restaurant-software company in a hairline grid that runs from rail to rail, each an initials avatar with a name, a role, a department badge and a city, under a department picker that brings the picked team to the front and dims everyone else.
- 0102030405Pro
Numbered List Team
Lists and directoriesSixteen people of a plant-care app as an ordered list in the order they joined, each row an employee number in tabular figures, an initials avatar, a name, a specific role and a company-relative join year.
- Pro
Bento Grid Team
Grids and wallsThe leadership of a lighting-design studio as a bento that shares its hairlines: a two-by-two founder cell, four leader cells with a focus line each, and a closing cell that counts the studio with a dot for every person.
- Pro
Accordion Profiles Team
Tabs and accordionsTen people of a recruiting-tool company as hairline accordion rows that run from rail to rail; opening a row shows the department, a two-line bio, a personal quote and two text links, one row at a time.
- Pro
Mission About
StatementsA mission statement for a home-care scheduling company: the mission in large type beside one supporting sentence, three pillars that each carry the figure they are checked by, and a founding line in relative time.
- Pro
Advisory Board Table Team
Leaders and org chartsSeven advisors of a climate-risk model company in a captioned table from rail to rail: an initials avatar and a name, their role and firm, their specialty and the year they began advising.