Skip to content

Hover reveal grid

Grayscale portrait cards that reveal details on hover.

Usage

Usage
import { TeamRevealGrid } from '@/components/blocks/team-01'


<TeamRevealGrid />


// Bring your own people
<TeamRevealGrid
  eyebrow="Our team"
  heading="The people behind the product"
  members={[
    {
      name: 'Jane Doe',
      role: 'Founder',
      bio: 'Started the company after ten years in design.',
      photo: 'https://example.com/jane.jpg',
      socials: [{ network: 'website', href: 'https://example.com/janedoe' }],
    },
  ]}
/>

Install

pnpm dlx shadcn@latest add @pastaui-pro/team-01

Source

Props

Hover reveal grid props
PropTypeDefaultDescription
eyebrowstring= 'The team'Small label above the heading.
headingstring= 'Small team, long memory'Section heading.
descriptionstring= A short intro lineSupporting text beside the heading.
membersTeamRevealMember[]= 8 sample peoplePeople with a name, role, one-line bio, photo URL and optional socials. The alt text is "Portrait of" plus the name.
members[].socials{ network: 'website' | 'email' | 'portfolio'; href: string }[]= —Icon links in the reveal panel, labelled like "Jane Doe’s website".
classNamestring= —Additional classes for the section.
styleCSSProperties= —Inline styles, handy for overriding the --pp-* color variables.