Skip to content
Blobz docs

Avatar Team List

A responsive roster with generated avatars, status, roles, descriptions, and action slots.

  • Janaki Ammal

    Owner

    janaki@example.com

  • Vikram Sarabhai

    Engineer

    vikram@example.com

  • Kalpana Chawla

    Scientist

    kalpana@example.com

View code
avatar-team-list-example.tsx
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-list

Usage

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.