Team, list


Install
npx shadcn add @klarhimmel/team-listDetailsAbout, usage, props and more
People as rows: portrait, name and role, a longer bio and one link. Reads like a directory, good for eight people or fewer with something to say.
Import
Import
- team/list
- About
- People as rows: portrait, name and role, a longer bio and one link. Reads like a directory, good for eight people or fewer with something to say. Leave the link label empty to drop the link.
- Category
- The people behind it. New project? Set it up once: /get-started/installation.
Notes
When to use it
People as directory rows with portrait, name, role, location, a longer bio and one link each. Use it for eight people or fewer who have something to say; for quick faces with short bios team-grid is lighter.
Writing for it
- The bio allows 240 characters. Lead with what the person handles, then one detail that makes them a person. - Use the location field (40 characters) for a city or 'Remote'. It sits small under the role and disappears when empty. - Make the link do something specific, such as 'Write to Elin' or 'Read his notes'. A link label is up to the field's own limit, and an empty label drops the link for that row.
Watch out for
On wide containers the row turns into four columns, and the link is pushed to the far right. A row with no link keeps its place but shows a gap there, so mixing rows with and without links looks uneven.
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 who they will talk to' | Text, up to 120 characters. |
description | string | 'Say in one or two sentences how man…' | Text, up to 300 characters. |
members | { name, role, location, bio, photo, link }[] | 4 items | List of 1 to 8. Each item: name, role, location, bio, photo, link. |
headingLevel | '1' | '2' | - | One of '1', '2'. Optional; empty is not rendered. |