Staaarter

Panel Discussion Section

Panel session card: a moderator highlight (larger avatar and name), a grid of panelist avatars and names below, plus the discussion topic heading and the scheduled time/location line. Perfect for industry panels and expert roundtables.

By Staaarter Team
Event
Docs
Live preview

Docs

Installation

A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, avatar, avatar-initials dependencies and any missing npm packages, and installs them straight into your project.

npx shadcn add https://staaarter.com/r/panel-discussion-section.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/event/event14.tsx instead.

Usage

The file also exports event14Demo, 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 { Event14, event14Demo } from "@/components/blocks/event/event14";

export default function Page() {
  return <Event14 {...event14Demo} />;
}

Props

PropTypeDefaultDescription
headingReactNodenoneDiscussion topic heading.
timestringnoneScheduled time, e.g. "Day 2, 3:00 PM".
locationstringnoneScheduled location, e.g. "Main Stage".
moderatorEventPanelistnoneThe panel's moderator, shown larger with a Moderator badge.
panelistsEventPanelist[]noneThe remaining panelists, shown in a smaller grid.
classNamestringnoneExtra classes for the outer section element.

Types

interface EventPanelist {
  name: string;
  role?: string;
  image?: { src: string; alt: string };
}

Behavior notes

  • Purely presentational: no links, forms, or handlers, this is a static session card with no real scheduling logic.
  • AvatarFallback shows initials (via initialsFromName) whenever the moderator's or a panelist's image is omitted or fails to load.