Skip to content
ProLifetime access for $199, paid once, every future release included
Truffle UI

Team Showcase

ProNew

Team members with photo, role, contacts and social links as a grid, a list or a swipeable slider, with a popup for the full bio.

Installation

pnpm dlx shadcn@latest add @viewport/team-showcase

First time? Add the @viewport registry to components.json. Setup takes one minute.

Usage

The code behind the preview above comes with Truffle Pro.

Props

PropTypeDefault
members*TeamMember[]—
layout"grid" | "list" | "slider"

`grid` wraps into columns, `list` stacks rows with the full bio, `slider` scrolls sideways with arrows and swipe.

"grid"
photo"circle" | "rounded" | "cover"

`circle` and `rounded` put the photo above the text; `cover` fills the tile and lays the name over it.

"circle"
cardboolean

Puts each member on a filled card.

false
titlestring

Heading above the team.

—
groupedboolean

Splits the grid into sections with a heading per `group`.

false
filterboolean

Shows a chip per `group` that filters the members.

false
columns2 | 3 | 4

Most columns on a wide container.

4
align"left" | "center"

Text alignment inside a member.

"left"
popupboolean

Opens a popup with the large photo, contacts and bio. Members without a bio get no popup.

true
classNamestring—

Accessibility

  • Members are list items with a heading each; social links are named “Hazel Pannell on LinkedIn”.
  • “See info” opens a dialog that traps focus, closes on Escape and returns focus to the member.
  • The slider scrolls natively: swipe, arrow keys on the focused track, or the Previous and Next buttons, which disable at the ends.
  • Filter chips are toggle buttons and the number of matches is announced. No sliding or zoom under reduced motion.