Componentdata0.71 KB gzipZero dependencies

TeamGrid

Grid of member cards with initials avatars, roles, optional links and staggered hover-lift entrances.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add team-grid

Or install the full npm package:

npm install bigbullui

Usage

tsx3 lines
import { TeamGrid } from "@/components/ui/team-grid"; <TeamGrid members={[{ id: "1", name: "Alice", role: "Lead" }]} />

Source code

team-grid.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxteam-grid.tsx62 lines
import * as React from "react";import { cn } from "./lib/utils"; export interface TeamMember {  id: string;  name: string;  role: string;  avatarInitials?: string;  link?: { label: string; href: string };} export interface TeamGridProps extends React.HTMLAttributes<HTMLElement> {  members: TeamMember[];  columns?: 2 | 3 | 4;  className?: string;} function initials(name: string): string {

Props

PropTypeDescription
membersTeamMember[]Configures members. (Default: [])
columns2 | 3 | 4Column definitions describing headers, cell keys, and sorting. (Default: 3)
classNamestringOptional Tailwind or custom CSS classes merged with component styles.