Featured Sessions Grid
A responsive grid of session cards, each showing the talk title, speaker name with an avatar, time, location/room, and a remaining-capacity note (e.g. '18 seats left'). Perfect for conference agendas and session discovery.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its avatar, avatar-initials dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/featured-sessions-grid.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/event/event18.tsx instead.
Usage
The file also exports event18Demo, 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 { Event18, event18Demo } from "@/components/blocks/event/event18"; export default function Page() { return <Event18 {...event18Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | string | "Featured sessions" | Section heading. |
| description | string | undefined | Supporting paragraph under the heading. |
| sessions | Event18Session[] | none | List of session cards to render. |
| className | string | none | Extra classes for the outer section element. |
Types
interface Event18Session { title: string; speakerName: string; speakerAvatar?: { src: string; alt: string }; time: string; location: string; seatsLeft: string; }
Behavior notes
- seatsLeft is a static demo string (e.g. '18 seats left'), not a live capacity count from any registration backend.
- Speaker avatars fall back to initials (via AvatarFallback/initialsFromName) when no avatar image is supplied or the image fails to load.
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.