Avatar Team List
A responsive roster with generated avatars, status, roles, descriptions, and action slots.
Janaki Ammal
Ownerjanaki@example.com
Vikram Sarabhai
Engineervikram@example.com
Kalpana Chawla
Scientistkalpana@example.com
View codeHide code
import { AvatarTeamList } from "@/components/blobz/avatar-team-list";
const TEAM_MEMBERS = [
{
avatar: {
name: "Janaki",
palette: ["#dff4ff", "#38bdf8"],
},
description: "janaki@example.com",
id: "janaki",
name: "Janaki Ammal",
role: "Owner",
status: "online",
},
{
avatar: {
name: "Vikram",
palette: ["#fff0e2", "#fa9769"],
},
description: "vikram@example.com",
id: "vikram",
name: "Vikram Sarabhai",
role: "Engineer",
status: "away",
},
{
avatar: {
name: "Kalpana",
palette: ["#e7fbe8", "#9ce786"],
},
description: "kalpana@example.com",
id: "kalpana",
name: "Kalpana Chawla",
role: "Scientist",
status: "offline",
},
] as const;
export function AvatarTeamListExample() {
return <AvatarTeamList className="w-full max-w-xl" members={TEAM_MEMBERS} />;
}Installation
npx shadcn@latest add @blobz/avatar-team-listUsage
import { AvatarTeamList } from "@/components/blobz/avatar-team-list";
<AvatarTeamList
members={[
{
id: "janaki",
name: "Janaki Ammal",
description: "janaki@example.com",
role: "Owner",
status: "online",
avatar: { name: "Janaki" },
},
]}
/>The list uses semantic ul and li elements. Avatars are decorative because every row includes the member's visible name.
Member API
Prop
Type
The avatar source accepts a stable name and optional src, frame, palette, and choices. Images automatically fall back to the generated face.