Event Hero with Ticket Pricing
Centered event hero built around a prominent ticket price: a large early-bird price next to a strikethrough original price, a small early-bird deadline note, and a primary "Get your ticket" CTA. Perfect for tech summits and paid conferences.
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/event-hero-with-ticket-pricing.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/event/event3.tsx instead.
Usage
The file also exports event3Demo, 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 { Event3, event3Demo } from "@/components/blocks/event/event3"; export default function Page() { return <Event3 {...event3Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | undefined | Small badge above the heading, e.g. the event name. |
| heading | ReactNode | none | Centered hero heading. |
| description | string | undefined | Short supporting paragraph under the heading. |
| earlyBirdPrice | string | none | Large discounted price shown first, e.g. "$399". |
| originalPrice | string | none | Original price rendered with a strikethrough next to earlyBirdPrice, e.g. "$599". |
| earlyBirdEndsLabel | string | none | Small note under the price, e.g. "Early bird ends December 1, 2026". |
| primaryCta | EventCtaLink | none | Primary button label + href, e.g. "Get your ticket". |
| className | string | none | Extra classes for the outer section element. |
Types
interface EventCtaLink { label: string; href: string; }
Behavior notes
- earlyBirdPrice, originalPrice, and earlyBirdEndsLabel are static string props; there is no countdown timer or date math, the deadline copy is authored as plain text.
- primaryCta renders as a plain link (Button with render={<Link/>}); it's decorative in the demo, there is no real checkout or ticketing flow 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.
minimal-event-hero
Minimal Event Hero
Centered, image-free hero with an oversized heading, date/location line, and two CTAs.
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.