Saasflare UI
Components

Team Card

Team member card with photo, name, role, bio, and social links.

Installation

npx shadcn@latest add https://ui.saasflare.io/r/team-card.json
pnpm add @saasflare/ui

Usage

Loading…
"use client"import { Icons, TeamCard } from "@saasflare/ui"/** A team member card with photo, role, bio, and social links. */export function Demo() {    return (        <TeamCard            className="w-full max-w-xs"            name="Jordan Avery"            role="CEO & Co-Founder"            photo="https://i.pravatar.cc/192?img=33"            bio="Previously led platform at two YC startups. Building developer tools she wished she'd had."            socials={[                { label: "Website", url: "https://example.com", icon: <Icons.globe /> },                { label: "GitHub", url: "https://github.com", icon: <Icons.github /> },            ]}        />    )}

Grid

Loading…
"use client"import { Icons, TeamCard } from "@saasflare/ui"const TEAM = [    {        name: "Jordan Avery",        role: "CEO & Co-Founder",        photo: "https://i.pravatar.cc/192?img=33",    },    {        name: "Theo Nakamura",        role: "CTO & Co-Founder",        photo: "https://i.pravatar.cc/192?img=15",    },    {        name: "Ines Costa",        role: "Head of Design",        photo: "https://i.pravatar.cc/192?img=44",    },]/** A team grid for an about or careers page. */export function Demo() {    return (        <div className="grid w-full gap-4 sm:grid-cols-3">            {TEAM.map((member) => (                <TeamCard                    key={member.name}                    name={member.name}                    role={member.role}                    photo={member.photo}                    socials={[                        { label: "GitHub", url: "https://github.com", icon: <Icons.github /> },                    ]}                />            ))}        </div>    )}

API Reference

Prop

Type

On this page