Skip to content
Klarhimmel UI

Team, featured

Team, featured previewTeam, featured preview

Install

npx shadcn add @klarhimmel/team-featured
DetailsAbout, 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

import Block from '@/components/klarhimmel/blocks/team-featured';
Also called
  • 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.

Usage

The block in a page, with its default content (long lists shortened). Every prop is in the table below.

section.tsx
import { Theme } from '@/components/klarhimmel/theme/style';
import { BlockSurface } from '@/components/klarhimmel/blocks/surface';
import TeamFeatured from '@/components/klarhimmel/blocks/team-featured';

export default function Section() {
  return (
    <Theme theme="brand">
      <BlockSurface>
        <TeamFeatured props={{
          "eyebrow": "Name a topic",
          "title": "Say what makes the team what it is",
          "description": "",
          "lead": {
            "name": "Name a person",
            "role": "Their role",
            "bio": "Say who they are and what shaped how they work, in two or three sentences. Say what they still do by hand, and what the…",
            "photo": {
              "src": "/pictures/avatar-5.svg",
              "alt": "A portrait of a person",
              "srcDark": "/pictures/avatar-5-dark.svg"
            },
            "link": {
              "label": "Second action",
              "href": "/letter"
            }
          },
          "membersTitle": "Say who else is on the team",
          "members": [
            {
              "name": "Name a person",
              "role": "Their role",
              "photo": {
                "src": "/pictures/avatar-6.svg",
                "alt": "A portrait of a person",
                "srcDark": "/pictures/avatar-6-dark.svg"
              }
            },
            {
              "name": "Name a person",
              "role": "Their role",
              "photo": {
                "src": "/pictures/avatar-1.svg",
                "alt": "A portrait of a person",
                "srcDark": "/pictures/avatar-1-dark.svg"
              }
            }
          ]
        }} />
      </BlockSurface>
    </Theme>
  );
}

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.

PropTypeDefaultDescription
eyebrowstring'Name a topic'Text, up to 60 characters.
titlestring'Say what makes the team what it is'Text, up to 120 characters.
descriptionstring''Text, up to 300 characters.
lead{ name, role, bio, photo, link }{…}Fields: name, role, bio, photo, link.
membersTitlestring'Say who else is on the team'Text, up to 60 characters.
members{ name, role, photo }[]4 itemsList of 2 to 6. Each item: name, role, photo.
headingLevel'1' | '2'-One of '1', '2'. Optional; empty is not rendered.