Past Speakers Gallery
Image gallery of previous conference speakers: a responsive grid of photo tiles, each with a year badge and topic caption over a bottom gradient, plus a pure-CSS hover-zoom effect. Perfect for showcasing event history and alumni speakers.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/past-speakers-gallery.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/event/event16.tsx instead.
Usage
The file also exports event16Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Event16, event16Demo } from "@/components/blocks/event/event16"; export default function Page() { return <Event16 {...event16Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Event history" | Small label above the heading. |
| heading | ReactNode | "Past speakers" | Section heading. |
| description | string | undefined | Supporting paragraph under the heading. |
| speakers | EventPastSpeaker[] | none | Photo tiles in the gallery grid. |
| className | string | none | Extra classes for the outer section element. |
Types
interface EventPastSpeaker { name: string; year: string; topic: string; image?: { src: string; alt: string }; }
Behavior notes
- The hover-zoom effect is pure CSS (group / group-hover:scale-105 with overflow-hidden on the tile), no JS state is involved.
- Each tile uses MediaSlot and falls back to a placeholder gradient when no image prop is supplied.
More Event Blocks
View all →conference-hero-with-image
Conference Hero with Image
Split hero with a featured photo, date badge, location, attendee stat, and dual CTAs.
minimal-event-hero
Minimal Event Hero
Centered, image-free hero with an oversized heading, date/location line, and two CTAs.
event-hero-with-ticket-pricing
Event Hero with Ticket Pricing
Centered hero with an early-bird price, a strikethrough original price, and a deadline note.
event-hero-with-social-proof
Event Hero with Social Proof
Hero with a heading, a 3-stat strip (attendees/speakers/countries), and a trusted-by company row.
personal-schedule-builder
Personal Schedule Builder
Interactive session picker that lets attendees build their own conference agenda.
team-discount-calculator
Team Discount Calculator
Live quantity stepper that applies tiered group discounts to a seat total.