Minimal Event Hero
Centered, single-column event hero with no image: oversized heading typography, a date/location line, a short description, and a primary plus outline-secondary CTA pair. Perfect for design conferences and annual summits.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its badge, button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/minimal-event-hero.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/event/event2.tsx instead.
Usage
The file also exports event2Demo, 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 { Event2, event2Demo } from "@/components/blocks/event/event2"; export default function Page() { return <Event2 {...event2Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small badge above the heading, e.g. the event series name. |
| heading | ReactNode | none | Oversized centered hero heading. |
| dateLocation | string | none | Single combined date + location line, e.g. "March 3-4, 2026 · Lisbon, Portugal". |
| description | string | undefined | Short supporting paragraph under the date/location line. |
| primaryCta | EventCtaLink | undefined | Primary button label + href. |
| secondaryCta | EventCtaLink | undefined | Outline secondary button label + href. |
| className | string | none | Extra classes for the outer section element. |
Types
interface EventCtaLink { label: string; href: string; }
Behavior notes
- No image or media slot in this block by design; it's the plain-text minimal hero variant of the category.
- primaryCta and secondaryCta render as plain links (Button with render={<Link/>}); both are decorative in the demo, there is no real ticketing or navigation wired up.
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.
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.
ticket-selection-cart
Ticket Selection Cart
Multi-tier ticket selector with per-tier quantity steppers and a live cart total.