Events

What is on, each event behind its day and month with its time, place and price, in ruled rows or on cards with a picture.

Eyebrow

Section title

A short line about what is on.

  1. Category 1

    Event 1

    21:00 · Place 1

    $15Button
  2. Category 2

    Event 2

    11:00 · Place 2

    $65Button
  3. Category 1

    Event 3

    20:00 · Place 3

    FreeButton
import { Events, type EventItem } from "@produkto/ui/Events";

const items: EventItem[] = [
  {
    title: "Event 1",
    category: "Category 1",
    date: "2026-11-17",
    time: "21:00",
    place: "Place 1",
    price: "$15",
    link: "#",
    action: { label: "Button", link: "#" },
  },
  {
    title: "Event 2",
    category: "Category 2",
    date: "2026-11-22",
    time: "11:00",
    place: "Place 2",
    price: "$65",
    link: "#",
    action: { label: "Button", link: "#" },
  },
  {
    title: "Event 3",
    category: "Category 1",
    date: "2026-12-31",
    time: "20:00",
    place: "Place 3",
    price: "Free",
    link: "#",
    action: { label: "Button", link: "#" },
  },
];

const Example = () => (
  <Events
    eyebrow="Eyebrow"
    title="Section title"
    description="A short line about what is on."
    items={items}
  />
);

export default Example;

Usage

import { Events, type EventItem } from "@produkto/ui/Events";
const items: EventItem[] = [
  { title: "Event 1", date: "2026-11-17", time: "21:00", place: "Place 1", link: "#" },
  { title: "Event 2", date: "2026-11-22", time: "11:00", place: "Place 2", link: "#" },
];

<Events title="Your headline goes here" items={items} />

Examples

Cards

Each event on a card, its date set over its picture, a placeholder where it has none, and its price at the foot.

Section title

  1. Category 1

    Event 1

    19:00 · Place 1

    $45
  2. Category 2

    Event 2

    22:00 · Place 2

    $39
  3. Category 3

    Event 3

    17:00 · Place 3

    $40
import { Events, type EventItem } from "@produkto/ui/Events";

const items: EventItem[] = [
  {
    title: "Event 1",
    category: "Category 1",
    date: "2026-11-20",
    time: "19:00",
    place: "Place 1",
    price: "$45",
    link: "#",
  },
  {
    title: "Event 2",
    category: "Category 2",
    date: "2026-11-28",
    time: "22:00",
    place: "Place 2",
    price: "$39",
    link: "#",
  },
  {
    title: "Event 3",
    category: "Category 3",
    date: "2026-12-03",
    time: "17:00",
    place: "Place 3",
    price: "$40",
    link: "#",
  },
];

const Example = () => (
  <Events title="Section title" layout="cards" items={items} />
);

export default Example;

By type

layout="tabs" sets the events under a tab per category on the kit's Tabs, All first, each tab its dated rows.

Events

Your headline goes here

A short line about what is on goes here.

  1. Category 1

    Event 1

    20:00 · Place 1

    $25Button
  2. Category 2

    Event 2

    19:30 · Place 1

    $18Button
  3. Category 1

    Event 3

    21:00 · Place 2

    $30Button
import { Events, type EventItem } from "@produkto/ui/Events";

const items: EventItem[] = [
  {
    title: "Event 1",
    date: "2026-11-21",
    time: "20:00",
    place: "Place 1",
    category: "Category 1",
    price: "$25",
    link: "#",
    action: { label: "Button", link: "#" },
  },
  {
    title: "Event 2",
    date: "2026-11-28",
    time: "19:30",
    place: "Place 1",
    category: "Category 2",
    price: "$18",
    link: "#",
    action: { label: "Button", link: "#" },
  },
  {
    title: "Event 3",
    date: "2026-12-05",
    time: "21:00",
    place: "Place 2",
    category: "Category 1",
    price: "$30",
    link: "#",
    action: { label: "Button", link: "#" },
  },
];

const Example = () => (
  <Events
    description="A short line about what is on goes here."
    eyebrow="Events"
    items={items}
    layout="tabs"
    title="Your headline goes here"
  />
);

export default Example;

Week timetable

layout="schedule" sets a tab for every day, each day its rows led by the time, with the place and a button.

Timetable

Your headline goes here

A short line about the week goes here.

  1. 07:00

    Class 1

    Room 1

    Button
  2. 18:30

    Class 2

    Room 2

    Button
import { Events, type EventItem } from "@produkto/ui/Events";

const items: EventItem[] = [
  {
    title: "Class 1",
    date: "2026-11-16",
    time: "07:00",
    place: "Room 1",
    action: { label: "Button", link: "#" },
  },
  {
    title: "Class 2",
    date: "2026-11-16",
    time: "18:30",
    place: "Room 2",
    action: { label: "Button", link: "#" },
  },
  {
    title: "Class 3",
    date: "2026-11-17",
    time: "12:15",
    place: "Room 1",
    action: { label: "Button", link: "#" },
  },
  {
    title: "Class 4",
    date: "2026-11-18",
    time: "19:00",
    place: "Room 2",
    action: { label: "Button", link: "#" },
  },
];

const Example = () => (
  <Events
    description="A short line about the week goes here."
    eyebrow="Timetable"
    items={items}
    layout="schedule"
    title="Your headline goes here"
  />
);

export default Example;

Event header: beside a photo

An event's opening, a Hero with layout="split": its title, a line, both buttons and when and where in its note, beside a photo.

Category

Event title goes here

A short line about the event goes here.

Sat 21 Nov · 20:00 · Place 1

import { Hero } from "@produkto/ui/Hero";
import { Image } from "@produkto/ui/Image";

const Example = () => (
  <Hero
    actions={[
      { label: "Primary action", link: "#" },
      { label: "Secondary action", link: "#", appearance: "outline" },
    ]}
    description="A short line about the event goes here."
    eyebrow="Category"
    layout="split"
    media={
      <Image
        alt=""
        className="aspect-4/3 w-full rounded-2xl object-cover"
        src="https://picsum.photos/id/1081/1200/900"
      />
    }
    note="Sat 21 Nov · 20:00 · Place 1"
    title="Event title goes here"
  />
);

export default Example;

Event header: ticket card

cover sets the event's photo across the band and its title at the foot, over a Card that holds when and where, the price and the button.

Category

Event title goes here

Sat 21 Nov · 20:00 · Place 1

From $25

import { Card, CardContent } from "@produkto/ui/Card";
import { Hero } from "@produkto/ui/Hero";
import { Image } from "@produkto/ui/Image";
import { BlockActions } from "@produkto/ui/Section";

const Example = () => (
  <Hero
    backdrop={<Image alt="" src="https://picsum.photos/id/1082/1920/1080" />}
    cover
    eyebrow="Category"
    layout="stacked"
    place="foot"
    title="Event title goes here"
  >
    <Card className="w-full max-w-md">
      <CardContent className="flex flex-col gap-4">
        <p className="label-base">Sat 21 Nov · 20:00 · Place 1</p>
        <p className="description-sm">From $25</p>
        <BlockActions actions={[{ label: "Primary action", link: "#" }]} />
      </CardContent>
    </Card>
  </Hero>
);

export default Example;

API Reference

Events

EventsProps · blocks/Events/Events.types.ts
PropTypeDefault
itemsEventItem[]-
layoutEventsLayout"list" | "cards" | "tabs" | "schedule""list"
localestring"en"
actionsBlockAction[]-
idstring-
eyebrowstring-
titleReactNode-
descriptionReactNode-
alignSectionAlign"start" | "center" | "end""start"
mutedbooleanfalse
classNamestring-

EventItem

used by items
PropTypeDefault
titlerequiredstring-
daterequiredstring-
timestring-
placestring-
categorystring-
pricestring-
descriptionReactNode-
imagestring | ReactNode-
altstring-
linkstring-
actionBlockLink-

BlockAction

used by actions
PropTypeDefault
appearanceButtonAppearance"solid" | "soft" | "outline" | "transparent"-
toneButtonTone"neutral" | "accent" | "destructive" | "success" | "warning" | "info"-
iconReactNode-
iconOnlyboolean-
borderRadiusBlockActionBorderRadius"none" | "xs" | "sm" | "base" | "lg" | "xl" | "full"-
labelrequiredstring-
linkrequiredstring-

BlockLink

used by its parts
PropTypeDefault
labelrequiredstring-
linkrequiredstring-