Team, featured


Install
npx shadcn add @klarhimmel/team-featuredDetailsAbout, usage, props and more
One person given the stage (large photo, longer bio, a link), then a row of round-portrait cards for everyone else. For a founder-led company.
Import
Import
- team/featured
- Category
- The people behind it. New project? Set it up once: /get-started/installation.
Notes
When to use it
Puts one person on the stage with a large portrait and a long bio, then shows everyone else as small round portraits. Pick it for founder-led companies; when no one outranks the rest, team-grid treats people equally.
Writing for it
- The lead bio holds 400 characters, enough for a paragraph with a reason to trust this person. Write what they did before the company, not a list of titles. - The lead gets a link of its own, for example a letter or an interview. Use a label that says what is behind it. - Add two to six other members, each with name, role and a square photo. The role is the only line under the name, so make it a team or a function.
Watch out for
The lead photo is cropped to a 4 by 5 frame and the others to squares shown as circles, so a wide group shot will lose people at the edges. Clearing membersTitle or the lead link label removes those lines.
Pairs well with
Usage
The block in a page, with its default content (long lists shortened). Every prop is in the table below.
Props
The type, default and text limit of every prop. On a real page, over-limit text is kept and checkSections flags it (Installation, Check a page before you ship); this live preview shows the default until it fits. The panel above edits all props.
| Prop | Type | Default | Description |
|---|---|---|---|
eyebrow | string | 'Name a topic' | Text, up to 60 characters. |
title | string | 'Say what makes the team what it is' | Text, up to 120 characters. |
description | string | '' | Text, up to 300 characters. |
lead | { name, role, bio, photo, link } | {…} | Fields: name, role, bio, photo, link. |
membersTitle | string | 'Say who else is on the team' | Text, up to 60 characters. |
members | { name, role, photo }[] | 4 items | List of 2 to 6. Each item: name, role, photo. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |