Event Hosts Section
Host profiles: photos, short bios, and social media icon links, displayed in a two-column grid that collapses to a single column on mobile. Perfect for introducing conference MCs and event directors.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/event-hosts-section.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/event/event15.tsx instead.
Usage
The file also exports event15Demo, 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 { Event15, event15Demo } from "@/components/blocks/event/event15"; export default function Page() { return <Event15 {...event15Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | "Your hosts" | Small label above the heading. |
| heading | ReactNode | "Meet the people running the show" | Section heading. |
| description | string | undefined | Supporting paragraph under the heading. |
| hosts | EventHost[] | none | Host cards in the two-column grid. |
| className | string | none | Extra classes for the outer section element. |
Types
interface EventHostSocialLink { label: string; href: string; icon: "twitter" | "github" | "linkedin" | "email"; } interface EventHost { name: string; role: string; bio: string; image?: { src: string; alt: string }; socialLinks?: EventHostSocialLink[]; }
Behavior notes
- This block's pinned lucide-react version has no dedicated Twitter/GitHub/LinkedIn brand icons, so each socialLinks entry maps its icon field to a generic substitute (AtSign, Code2, Briefcase, Mail) - the label text still names the real platform.
- Social icon buttons render as plain anchors (Button with render={<a/>}) pointing at the href you pass; they are decorative in the demo, there is no real profile linking wired up.
- Each host photo 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.