Skip to content

armgit / pdfcn

Public Imported from GitHub
0

Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.

feat(blocks): add event agenda block (#23)

neutron4201618217407a1
diff --git a/apps/web/content/docs/blocks/takumi/event-agenda.mdx b/apps/web/content/docs/blocks/takumi/event-agenda.mdx
new file mode 100644
index 0000000..67db10a
--- /dev/null
+++ b/apps/web/content/docs/blocks/takumi/event-agenda.mdx
@@ -0,0 +1,129 @@
+---
+title: "Event Agenda"
+description: "Print-ready conference, summit, or meeting agenda template with multi-day support, track legend, and concurrent sessions."
+---
+
+<ComponentPreview base="takumi" name="event-agenda" hideCode />
+
+## Installation
+
+<CodeTabs>
+
+<TabsList>
+ <TabsTrigger value="cli">Command</TabsTrigger>
+ <TabsTrigger value="manual">Manual</TabsTrigger>
+</TabsList>
+
+<TabsContent value="cli">
+
+```bash
+npx shadcn@latest add @pdfcn/takumi/event-agenda
+```
+
+</TabsContent>
+
+<TabsContent value="manual">
+
+<Steps>
+
+<Step>Install the following dependencies:</Step>
+
+```bash
+npm install takumi-pdf @takumi-rs/helpers
+```
+
+<Step>Copy and paste the following code into your project.</Step>
+
+<ComponentSource
+ src="registry/bases/takumi/blocks/event-agenda/event-agenda.tsx"
+ base="takumi"
+ title="components/pdf/blocks/event-agenda/event-agenda.tsx"
+/>
+
+<ComponentSource
+ src="registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts"
+ base="takumi"
+ title="components/pdf/blocks/event-agenda/event-agenda.types.ts"
+/>
+
+<ComponentSource
+ src="registry/bases/takumi/components/theme-provider.tsx"
+ base="takumi"
+ title="components/pdf/theme-provider.tsx"
+/>
+
+<ComponentSource
+ src="registry/bases/takumi/lib/resolve-color.ts"
+ base="takumi"
+ title="lib/resolve-color.ts"
+/>
+
+<ComponentSource
+ src="registry/bases/takumi/lib/pdf-primitives.tsx"
+ base="takumi"
+ title="lib/pdf-primitives.tsx"
+/>
+
+<ComponentSource
+ src="registry/bases/takumi/lib/pdf-svg.tsx"
+ base="takumi"
+ title="lib/pdf-svg.tsx"
+/>
+
+<ComponentSource
+ src="registry/themes/professional.ts"
+ base="takumi"
+ title="lib/pdf-themes/professional.ts"
+/>
+
+<ComponentSource
+ src="registry/themes/primitives.ts"
+ base="takumi"
+ title="lib/pdf-themes/primitives.ts"
+/>
+
+<ComponentSource
+ src="registry/types/pdf-themes.ts"
+ base="takumi"
+ title="types/pdf-themes.ts"
+/>
+
+<ComponentSource
+ src="registry/types/pdf-components.ts"
+ base="takumi"
+ title="types/pdf-components.ts"
+/>
+
+<Step>Update the import paths to match your project setup.</Step>
+
+</Steps>
+
+</TabsContent>
+
+</CodeTabs>
+
+## Usage
+
+```tsx
+import { EventAgendaDocument } from "@/components/pdf/event-agenda";
+```
+
+```tsx
+<EventAgendaDocument />
+```
+
+## API Reference
+
+### EventAgendaProps
+
+| Prop | Type | Description |
+| ------------------ | --------------- | --------------------------------------------------------------- |
+| `eventName` | `string` | The title or name of the event or conference. |
+| `date` | `string` | Start date of the event (e.g. "October 20, 2026"). |
+| `endDate` | `string?` | Optional end date for multi-day events. |
+| `venue` | `string` | Venue name or physical address. |
+| `days` | `DaySchedule[]` | Array of day schedules, each containing sessions. |
+| `tracks` | `Track[]?` | Color-coded conference tracks for the legend and session pills. |
+| `wifiInfo` | `string?` | Network credentials displayed in the footer. |
+| `emergencyContact` | `string?` | Important contact info displayed in the footer. |
+| `accentColor` | `string?` | Accent color for headers, badges, and highlights. |
diff --git a/apps/web/content/docs/blocks/takumi/meta.json b/apps/web/content/docs/blocks/takumi/meta.json
index 18b8d23..e625e7e 100644
--- a/apps/web/content/docs/blocks/takumi/meta.json
+++ b/apps/web/content/docs/blocks/takumi/meta.json
@@ -1,6 +1,7 @@
{
"pages": [
"index",
+ "event-agenda",
"invoice-classic",
"invoice-consultant",
"invoice-corporate",
diff --git a/apps/web/examples/__index__.ts b/apps/web/examples/__index__.ts
index 0e8dcb1..cc2e57e 100644
--- a/apps/web/examples/__index__.ts
+++ b/apps/web/examples/__index__.ts
@@ -39,6 +39,7 @@ import takumi_badge from "@/examples/takumi/badge";
import takumi_card from "@/examples/takumi/card";
import takumi_data_table from "@/examples/takumi/data-table";
import takumi_divider from "@/examples/takumi/divider";
+import takumi_event_agenda from "@/examples/takumi/event-agenda";
import takumi_form from "@/examples/takumi/form";
import takumi_graph from "@/examples/takumi/graph";
import takumi_heading from "@/examples/takumi/heading";
@@ -115,6 +116,7 @@ export const demos: Record<BaseName, DemoMap> = {
card: takumi_card,
"data-table": takumi_data_table,
divider: takumi_divider,
+ "event-agenda": takumi_event_agenda,
form: takumi_form,
graph: takumi_graph,
heading: takumi_heading,
diff --git a/apps/web/examples/preview-config.tsx b/apps/web/examples/preview-config.tsx
index 8bb2ad3..029be68 100644
--- a/apps/web/examples/preview-config.tsx
+++ b/apps/web/examples/preview-config.tsx
@@ -5,6 +5,7 @@ import { pointToCssPixel } from "@/registry/bases/takumi/lib/pdf-primitives";
const DEFAULT_MARGIN = 40;
const BLOCK_NAMES = new Set([
+ "event-agenda",
"invoice-classic",
"invoice-consultant",
"invoice-corporate",
diff --git a/apps/web/examples/takumi/event-agenda.tsx b/apps/web/examples/takumi/event-agenda.tsx
new file mode 100644
index 0000000..4b11bcf
--- /dev/null
+++ b/apps/web/examples/takumi/event-agenda.tsx
@@ -0,0 +1,4 @@
+import { EventAgendaDocument } from "@/registry/bases/takumi/blocks/event-agenda/event-agenda";
+
+const Demo = () => <EventAgendaDocument />;
+export default Demo;
diff --git a/apps/web/public/r/registry.json b/apps/web/public/r/registry.json
index 349a0dc..027b616 100644
--- a/apps/web/public/r/registry.json
+++ b/apps/web/public/r/registry.json
@@ -446,6 +446,32 @@
"title": "Watermark",
"type": "registry:ui"
},
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Event Agenda PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.types.ts"
+ }
+ ],
+ "name": "takumi/event-agenda",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/badge",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Event Agenda",
+ "type": "registry:block"
+ },
{
"dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
"description": "Invoice Classic PDF block (takumi)",
diff --git a/apps/web/public/r/takumi/event-agenda.json b/apps/web/public/r/takumi/event-agenda.json
new file mode 100644
index 0000000..931dad9
--- /dev/null
+++ b/apps/web/public/r/takumi/event-agenda.json
@@ -0,0 +1,32 @@
+{
+ "$schema": "https://ui.shadcn.com/schema/registry-item.json",
+ "name": "takumi/event-agenda",
+ "title": "Event Agenda",
+ "description": "Event Agenda PDF block (takumi)",
+ "dependencies": [
+ "takumi-pdf",
+ "@takumi-rs/helpers"
+ ],
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/badge",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/text"
+ ],
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.tsx",
+ "content": "import { Section } from \"@/registry/bases/takumi/components/section/section\";\nimport { Text } from \"@/registry/bases/takumi/components/text/text\";\nimport {\n PdfcnThemeProvider,\n usePdfcnTheme,\n} from \"@/registry/bases/takumi/components/theme-provider\";\nimport {\n Document,\n Page,\n StyleSheet,\n View,\n} from \"@/registry/bases/takumi/lib/pdf-primitives\";\nimport type { PdfcnTheme } from \"@/registry/types/pdf-themes\";\n\nimport type { EventAgendaProps, Session } from \"./event-agenda.types\";\nimport { sampleEventAgendaData } from \"./event-agenda.types\";\n\ninterface TimeSlotGroup {\n sessions: Session[];\n time: string;\n}\n\nconst groupSessionsByTime = (sessions: Session[]): TimeSlotGroup[] => {\n const groups: TimeSlotGroup[] = [];\n const map = new Map<string, Session[]>();\n\n for (const session of sessions) {\n const existing = map.get(session.time);\n if (existing) {\n existing.push(session);\n } else {\n const list = [session];\n map.set(session.time, list);\n groups.push({ sessions: list, time: session.time });\n }\n }\n\n return groups;\n};\n\nexport const EventAgendaContent = ({ data }: { data: EventAgendaProps }) => {\n const theme = usePdfcnTheme();\n const accent = data.accentColor ?? theme.colors.primary;\n\n const trackColorMap = new Map<string, string>();\n if (data.tracks) {\n for (const track of data.tracks) {\n trackColorMap.set(track.name.toLowerCase(), track.color);\n }\n }\n\n const styles = StyleSheet.create({\n breakBadge: {\n backgroundColor: theme.colors.muted,\n borderColor: theme.colors.border,\n borderRadius: 4,\n borderStyle: \"solid\",\n borderWidth: 1,\n paddingHorizontal: 6,\n paddingVertical: 2,\n },\n breakCard: {\n backgroundColor: theme.colors.muted,\n borderColor: theme.colors.border,\n borderRadius: 6,\n borderStyle: \"dashed\",\n borderWidth: 1,\n flex: 1,\n paddingHorizontal: 10,\n paddingVertical: 7,\n },\n dayBanner: {\n alignItems: \"center\",\n backgroundColor: theme.colors.muted,\n borderColor: theme.colors.border,\n borderRadius: 6,\n borderStyle: \"solid\",\n borderWidth: 1,\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n marginBottom: 10,\n marginTop: 8,\n paddingHorizontal: 12,\n paddingVertical: 6,\n },\n footerContainer: {\n borderTopColor: theme.colors.border,\n borderTopStyle: \"solid\",\n borderTopWidth: 1,\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n marginTop: \"auto\",\n paddingTop: 8,\n },\n headerContainer: {\n borderBottomColor: theme.colors.border,\n borderBottomStyle: \"solid\",\n borderBottomWidth: 1.5,\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n paddingBottom: 10,\n },\n legendContainer: {\n alignItems: \"center\",\n flexDirection: \"row\",\n flexWrap: \"wrap\",\n gap: 6,\n marginBottom: 8,\n },\n legendDot: {\n borderRadius: 3,\n height: 7,\n marginRight: 4,\n width: 7,\n },\n legendItem: {\n alignItems: \"center\",\n backgroundColor: theme.colors.muted,\n borderColor: theme.colors.border,\n borderRadius: 4,\n borderStyle: \"solid\",\n borderWidth: 1,\n flexDirection: \"row\",\n paddingHorizontal: 6,\n paddingVertical: 2,\n },\n page: {\n backgroundColor: theme.colors.background,\n boxSizing: \"border-box\",\n minHeight: 841,\n padding: 32,\n position: \"relative\",\n },\n roomBadge: {\n backgroundColor: theme.colors.muted,\n borderColor: theme.colors.border,\n borderRadius: 3,\n borderStyle: \"solid\",\n borderWidth: 1,\n paddingHorizontal: 5,\n paddingVertical: 1,\n },\n sessionCard: {\n backgroundColor: theme.colors.background,\n borderColor: theme.colors.border,\n borderRadius: 6,\n borderStyle: \"solid\",\n borderWidth: 1,\n flex: 1,\n flexDirection: \"column\",\n paddingHorizontal: 10,\n paddingVertical: 7,\n position: \"relative\",\n },\n sessionsRow: {\n flex: 1,\n flexDirection: \"row\",\n gap: 8,\n },\n timeBox: {\n alignItems: \"flex-start\",\n flexDirection: \"column\",\n paddingTop: 2,\n width: 78,\n },\n timeSlotRow: {\n flexDirection: \"row\",\n marginBottom: 8,\n },\n trackBadge: {\n borderRadius: 3,\n paddingHorizontal: 6,\n paddingVertical: 1,\n },\n });\n\n return (\n <Document title={`${data.eventName} - Agenda`}>\n {data.days.map((day, dayIndex) => {\n const timeSlots = groupSessionsByTime(day.sessions);\n\n return (\n <Page key={day.label} size=\"A4\" style={styles.page}>\n {/* Header */}\n <View style={styles.headerContainer}>\n <View style={{ flex: 1, paddingRight: 16 }}>\n <Text\n style={{\n color: accent,\n fontSize: 8.5,\n fontWeight: \"bold\",\n letterSpacing: 1.2,\n marginBottom: 2,\n textTransform: \"uppercase\",\n }}\n noMargin\n >\n Event Agenda\n </Text>\n <Text\n style={{\n fontSize: 20,\n fontWeight: \"bold\",\n lineHeight: 1.2,\n marginBottom: 4,\n }}\n noMargin\n >\n {data.eventName}\n </Text>\n <Text\n style={{ color: theme.colors.mutedForeground, fontSize: 8.5 }}\n noMargin\n >\n {data.date}\n {data.endDate ? ` – ${data.endDate}` : \"\"} • {data.venue}\n </Text>\n </View>\n\n <View\n style={{ alignItems: \"flex-end\", justifyContent: \"center\" }}\n >\n <View\n style={{\n backgroundColor: accent,\n borderRadius: 4,\n paddingHorizontal: 10,\n paddingVertical: 4,\n }}\n >\n <Text\n style={{\n color: \"#ffffff\",\n fontSize: 10,\n fontWeight: \"bold\",\n letterSpacing: 0.8,\n textTransform: \"uppercase\",\n }}\n noMargin\n >\n AGENDA\n </Text>\n </View>\n </View>\n </View>\n\n {/* Day Title Banner */}\n <View style={styles.dayBanner}>\n <View\n style={{ alignItems: \"center\", flexDirection: \"row\", gap: 6 }}\n >\n <Text style={{ fontSize: 11, fontWeight: \"bold\" }} noMargin>\n {day.label}\n </Text>\n <Text\n style={{ color: theme.colors.mutedForeground, fontSize: 9 }}\n noMargin\n >\n — {day.date}\n </Text>\n </View>\n\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 8.5,\n fontWeight: 600,\n }}\n noMargin\n >\n Day {dayIndex + 1} of {data.days.length}\n </Text>\n </View>\n\n {/* Track Legend (if available) */}\n {data.tracks && data.tracks.length > 0 && (\n <View style={styles.legendContainer}>\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7.5,\n fontWeight: \"bold\",\n letterSpacing: 0.5,\n marginRight: 4,\n textTransform: \"uppercase\",\n }}\n noMargin\n >\n Tracks:\n </Text>\n {data.tracks.map((track) => (\n <View key={track.name} style={styles.legendItem}>\n <View\n style={[\n styles.legendDot,\n { backgroundColor: track.color },\n ]}\n />\n <Text\n style={{ fontSize: 7.5, fontWeight: 600 }}\n noMargin\n >\n {track.name}\n </Text>\n </View>\n ))}\n </View>\n )}\n\n {/* Sessions Time Grid */}\n <Section style={{ marginTop: 2 }}>\n {timeSlots.map((slot) => {\n const isSingleBreak =\n slot.sessions.length === 1 && slot.sessions[0].isBreak;\n\n return (\n <View key={slot.time} style={styles.timeSlotRow}>\n {/* Time Column */}\n <View style={styles.timeBox}>\n <Text\n style={{\n color: theme.colors.foreground,\n fontSize: 9,\n fontWeight: \"bold\",\n }}\n noMargin\n >\n {slot.time}\n </Text>\n {slot.sessions[0].endTime && (\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7.5,\n }}\n noMargin\n >\n to {slot.sessions[0].endTime}\n </Text>\n )}\n </View>\n\n {/* Content Column */}\n {isSingleBreak ? (\n <View style={styles.breakCard}>\n <View\n style={{\n alignItems: \"center\",\n flexDirection: \"row\",\n justifyContent: \"space-between\",\n }}\n >\n <Text\n style={{\n color: theme.colors.foreground,\n fontSize: 9.5,\n fontWeight: \"bold\",\n }}\n noMargin\n >\n {slot.sessions[0].title}\n </Text>\n <View style={styles.breakBadge}>\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7,\n fontWeight: \"bold\",\n letterSpacing: 0.5,\n textTransform: \"uppercase\",\n }}\n noMargin\n >\n Break\n </Text>\n </View>\n </View>\n {slot.sessions[0].description && (\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7.5,\n marginTop: 2,\n }}\n noMargin\n >\n {slot.sessions[0].description}\n </Text>\n )}\n </View>\n ) : (\n <View style={styles.sessionsRow}>\n {slot.sessions.map((session, sIndex) => {\n const trackColor = session.track\n ? trackColorMap.get(session.track.toLowerCase())\n : undefined;\n\n return (\n <View\n key={`${session.title}-${sIndex}`}\n style={[\n styles.sessionCard,\n trackColor\n ? {\n borderLeftColor: trackColor,\n borderLeftWidth: 3,\n }\n : {},\n ]}\n >\n {/* Track & Room Metadata */}\n <View\n style={{\n alignItems: \"center\",\n flexDirection: \"row\",\n gap: 4,\n marginBottom: 3,\n }}\n >\n {session.track && (\n <View\n style={[\n styles.trackBadge,\n {\n backgroundColor: trackColor\n ? `${trackColor}1A`\n : theme.colors.muted,\n },\n ]}\n >\n <Text\n style={{\n color:\n trackColor ?? theme.colors.foreground,\n fontSize: 7,\n fontWeight: \"bold\",\n }}\n noMargin\n >\n {session.track}\n </Text>\n </View>\n )}\n {session.room && (\n <View style={styles.roomBadge}>\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7,\n fontWeight: 600,\n }}\n noMargin\n >\n {session.room}\n </Text>\n </View>\n )}\n </View>\n\n {/* Title */}\n <Text\n style={{\n fontSize: 9,\n fontWeight: \"bold\",\n lineHeight: 1.25,\n }}\n noMargin\n >\n {session.title}\n </Text>\n\n {/* Speaker */}\n {session.speaker && (\n <Text\n style={{\n color: accent,\n fontSize: 7.8,\n fontWeight: 600,\n marginTop: 2,\n }}\n noMargin\n >\n {session.speaker}\n </Text>\n )}\n\n {/* Description */}\n {session.description && (\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7.2,\n lineHeight: 1.2,\n marginTop: 2,\n }}\n noMargin\n >\n {session.description}\n </Text>\n )}\n </View>\n );\n })}\n </View>\n )}\n </View>\n );\n })}\n </Section>\n\n {/* Footer */}\n <View style={styles.footerContainer}>\n <View style={{ flexDirection: \"column\", gap: 1 }}>\n {data.wifiInfo && (\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7.5,\n fontWeight: 600,\n }}\n noMargin\n >\n Wi-Fi: {data.wifiInfo}\n </Text>\n )}\n {data.emergencyContact && (\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7.2,\n }}\n noMargin\n >\n {data.emergencyContact}\n </Text>\n )}\n </View>\n\n <View style={{ alignItems: \"flex-end\" }}>\n <Text\n style={{\n color: theme.colors.mutedForeground,\n fontSize: 7.5,\n fontWeight: 600,\n }}\n noMargin\n >\n Page {dayIndex + 1} of {data.days.length}\n </Text>\n </View>\n </View>\n </Page>\n );\n })}\n </Document>\n );\n};\n\nexport const EventAgendaDocument = ({\n theme,\n data = sampleEventAgendaData,\n}: {\n theme?: PdfcnTheme;\n data?: EventAgendaProps;\n}) => (\n <PdfcnThemeProvider theme={theme}>\n <EventAgendaContent data={data} />\n </PdfcnThemeProvider>\n);\n\nexport { EventAgendaDocument as EventAgenda };\n",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts",
+ "content": "export interface Session {\n description?: string;\n endTime?: string;\n isBreak?: boolean;\n room?: string;\n speaker?: string;\n time: string;\n title: string;\n track?: string;\n}\n\nexport interface DaySchedule {\n date: string;\n label: string;\n sessions: Session[];\n}\n\nexport interface Track {\n color: string;\n name: string;\n}\n\nexport interface EventAgendaProps {\n accentColor?: string;\n date: string;\n days: DaySchedule[];\n emergencyContact?: string;\n endDate?: string;\n eventName: string;\n renderingBase?: \"takumi\" | \"forme\";\n tracks?: Track[];\n venue: string;\n wifiInfo?: string;\n}\n\nexport const sampleEventAgendaData: EventAgendaProps = {\n accentColor: \"#dc2626\",\n date: \"October 20, 2026\",\n days: [\n {\n date: \"October 20, 2026\",\n label: \"Day 1\",\n sessions: [\n {\n description:\n \"Check-in, grab your badge, and enjoy breakfast with peers.\",\n endTime: \"9:00 AM\",\n isBreak: true,\n time: \"8:00 AM\",\n title: \"Registration & Breakfast\",\n },\n {\n description:\n \"An overview of recent evolutions and the road ahead for UI engineering.\",\n endTime: \"9:45 AM\",\n room: \"Main Hall\",\n speaker: \"Dan Abramov\",\n time: \"9:00 AM\",\n title: \"Opening Keynote: The Next Decade of React\",\n track: \"Core React\",\n },\n {\n description:\n \"Real-world architecture patterns, streaming benefits, and edge-case handling.\",\n endTime: \"10:45 AM\",\n room: \"Room A\",\n speaker: \"Sarah Chen\",\n time: \"10:00 AM\",\n title: \"Server Components in Production\",\n track: \"Core React\",\n },\n {\n description:\n \"Navigating signals, atomic state, and server state synchronization.\",\n endTime: \"10:45 AM\",\n room: \"Room B\",\n speaker: \"Mark Erikson\",\n time: \"10:00 AM\",\n title: \"State Management in 2026\",\n track: \"Ecosystem\",\n },\n {\n description: \"Exhibition hall coffee stations open.\",\n endTime: \"11:30 AM\",\n isBreak: true,\n time: \"11:00 AM\",\n title: \"Coffee & Networking Break\",\n },\n {\n description:\n \"Ensuring WCAG AAA compliance with composable headless components.\",\n endTime: \"12:15 PM\",\n room: \"Room A\",\n speaker: \"Rachel Andrew\",\n time: \"11:30 AM\",\n title: \"Building Accessible Design Systems\",\n track: \"Core React\",\n },\n {\n description:\n \"How automatic memoization transforms rendering pipelines.\",\n endTime: \"12:15 PM\",\n room: \"Room B\",\n speaker: \"Andrew Clark\",\n time: \"11:30 AM\",\n title: \"Compiler Deep Dive: Under the Hood\",\n track: \"Ecosystem\",\n },\n {\n description: \"Lunch served in the Grand Ballroom.\",\n endTime: \"1:45 PM\",\n isBreak: true,\n time: \"12:30 PM\",\n title: \"Catered Lunch & Sponsor Showcase\",\n },\n {\n description:\n \"Hands-on exercises exploring Actions, optimistic updates, and new hooks.\",\n endTime: \"3:30 PM\",\n room: \"Workshop Lab\",\n speaker: \"Ken Wheeler\",\n time: \"2:00 PM\",\n title: \"Interactive Workshop: Building with React 19\",\n track: \"Workshop\",\n },\n {\n description:\n \"Module federation techniques across distributed product teams.\",\n endTime: \"3:00 PM\",\n room: \"Room A\",\n speaker: \"Zack Jackson\",\n time: \"2:00 PM\",\n title: \"Micro-Frontends at Scale\",\n track: \"Ecosystem\",\n },\n {\n endTime: \"4:00 PM\",\n isBreak: true,\n time: \"3:30 PM\",\n title: \"Afternoon Refreshments\",\n },\n {\n description:\n \"Reflections on Day 1 highlights, open mic session, and evening preview.\",\n endTime: \"5:00 PM\",\n room: \"Main Hall\",\n speaker: \"Sophie Alpert\",\n time: \"4:00 PM\",\n title: \"Closing Keynote & Community Q&A\",\n track: \"Core React\",\n },\n ],\n },\n {\n date: \"October 21, 2026\",\n label: \"Day 2\",\n sessions: [\n {\n description: \"Morning refreshments in the networking lounge.\",\n endTime: \"9:30 AM\",\n isBreak: true,\n time: \"8:30 AM\",\n title: \"Welcome Coffee & Light Breakfast\",\n },\n {\n description:\n \"How generative agents and generative UI are shaping application architectures.\",\n endTime: \"10:30 AM\",\n room: \"Main Hall\",\n speaker: \"Seb Markbåge\",\n time: \"9:30 AM\",\n title: \"Future of React & AI Agent Integrations\",\n track: \"Core React\",\n },\n {\n description:\n \"Actionable metrics, Core Web Vitals, and avoiding main-thread bottlenecks.\",\n endTime: \"11:45 AM\",\n room: \"Room A\",\n speaker: \"Addy Osmani\",\n time: \"10:45 AM\",\n title: \"Performance Profiling for Modern Web Apps\",\n track: \"Core React\",\n },\n {\n description:\n \"Sync engines, conflict resolution, and ultra-fast client-side queries.\",\n endTime: \"11:45 AM\",\n room: \"Room B\",\n speaker: \"Tanner Linsley\",\n time: \"10:45 AM\",\n title: \"Offline-First Architecture with Local-First Databases\",\n track: \"Ecosystem\",\n },\n {\n description:\n \"Quick 5-minute community-submitted presentations in the theater.\",\n endTime: \"1:15 PM\",\n isBreak: true,\n time: \"12:00 PM\",\n title: \"Lunch & Community Lightning Talks\",\n },\n {\n description:\n \"Profiling real-world codebases, memory leak identification, and bundle size reduction.\",\n endTime: \"3:00 PM\",\n room: \"Workshop Lab\",\n speaker: \"Lydia Hallie\",\n time: \"1:30 PM\",\n title: \"Hands-on Performance Optimization Workshop\",\n track: \"Workshop\",\n },\n {\n description:\n \"Vite, Turbopack, Biome, Oxfmt, and next-generation dev speed.\",\n endTime: \"4:15 PM\",\n room: \"Main Hall\",\n speaker: \"Industry Panelists\",\n time: \"3:15 PM\",\n title: \"Panel Discussion: What's Next for Developer Tooling\",\n track: \"Ecosystem\",\n },\n {\n description: \"Drinks and appetizers at the convention terrace.\",\n endTime: \"6:00 PM\",\n isBreak: true,\n time: \"4:30 PM\",\n title: \"Closing Reception & Networking Afterparty\",\n },\n ],\n },\n ],\n emergencyContact:\n \"Organizers Desk: +31 20 123 4567 | [email protected]\",\n endDate: \"October 21, 2026\",\n eventName: \"React Summit 2026\",\n tracks: [\n { color: \"#3b82f6\", name: \"Core React\" },\n { color: \"#10b981\", name: \"Ecosystem\" },\n { color: \"#f59e0b\", name: \"Workshop\" },\n ],\n venue: \"Amsterdam Convention Center\",\n wifiInfo: \"Network: ReactSummit / Password: react2026\",\n};\n",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.types.ts"
+ }
+ ],
+ "type": "registry:block"
+}
\ No newline at end of file
diff --git a/apps/web/registry.json b/apps/web/registry.json
index 349a0dc..027b616 100644
--- a/apps/web/registry.json
+++ b/apps/web/registry.json
@@ -446,6 +446,32 @@
"title": "Watermark",
"type": "registry:ui"
},
+ {
+ "dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
+ "description": "Event Agenda PDF block (takumi)",
+ "files": [
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.tsx",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.tsx"
+ },
+ {
+ "path": "registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts",
+ "type": "registry:block",
+ "target": "components/pdf/blocks/event-agenda/event-agenda.types.ts"
+ }
+ ],
+ "name": "takumi/event-agenda",
+ "registryDependencies": [
+ "@pdfcn/takumi/utils",
+ "@pdfcn/takumi/badge",
+ "@pdfcn/takumi/page-footer",
+ "@pdfcn/takumi/section",
+ "@pdfcn/takumi/text"
+ ],
+ "title": "Event Agenda",
+ "type": "registry:block"
+ },
{
"dependencies": ["takumi-pdf", "@takumi-rs/helpers"],
"description": "Invoice Classic PDF block (takumi)",
diff --git a/apps/web/registry/bases/takumi/blocks/event-agenda/event-agenda.tsx b/apps/web/registry/bases/takumi/blocks/event-agenda/event-agenda.tsx
new file mode 100644
index 0000000..5c710da
--- /dev/null
+++ b/apps/web/registry/bases/takumi/blocks/event-agenda/event-agenda.tsx
@@ -0,0 +1,568 @@
+import { Section } from "@/registry/bases/takumi/components/section/section";
+import { Text } from "@/registry/bases/takumi/components/text/text";
+import {
+ PdfcnThemeProvider,
+ usePdfcnTheme,
+} from "@/registry/bases/takumi/components/theme-provider";
+import {
+ Document,
+ Page,
+ StyleSheet,
+ View,
+} from "@/registry/bases/takumi/lib/pdf-primitives";
+import type { PdfcnTheme } from "@/registry/types/pdf-themes";
+
+import type { EventAgendaProps, Session } from "./event-agenda.types";
+import { sampleEventAgendaData } from "./event-agenda.types";
+
+interface TimeSlotGroup {
+ sessions: Session[];
+ time: string;
+}
+
+const groupSessionsByTime = (sessions: Session[]): TimeSlotGroup[] => {
+ const groups: TimeSlotGroup[] = [];
+ const map = new Map<string, Session[]>();
+
+ for (const session of sessions) {
+ const existing = map.get(session.time);
+ if (existing) {
+ existing.push(session);
+ } else {
+ const list = [session];
+ map.set(session.time, list);
+ groups.push({ sessions: list, time: session.time });
+ }
+ }
+
+ return groups;
+};
+
+export const EventAgendaContent = ({ data }: { data: EventAgendaProps }) => {
+ const theme = usePdfcnTheme();
+ const accent = data.accentColor ?? theme.colors.primary;
+
+ const trackColorMap = new Map<string, string>();
+ if (data.tracks) {
+ for (const track of data.tracks) {
+ trackColorMap.set(track.name.toLowerCase(), track.color);
+ }
+ }
+
+ const styles = StyleSheet.create({
+ breakBadge: {
+ backgroundColor: theme.colors.muted,
+ borderColor: theme.colors.border,
+ borderRadius: 4,
+ borderStyle: "solid",
+ borderWidth: 1,
+ paddingHorizontal: 6,
+ paddingVertical: 2,
+ },
+ breakCard: {
+ backgroundColor: theme.colors.muted,
+ borderColor: theme.colors.border,
+ borderRadius: 6,
+ borderStyle: "dashed",
+ borderWidth: 1,
+ flex: 1,
+ paddingHorizontal: 10,
+ paddingVertical: 7,
+ },
+ dayBanner: {
+ alignItems: "center",
+ backgroundColor: theme.colors.muted,
+ borderColor: theme.colors.border,
+ borderRadius: 6,
+ borderStyle: "solid",
+ borderWidth: 1,
+ flexDirection: "row",
+ justifyContent: "space-between",
+ marginBottom: 10,
+ marginTop: 8,
+ paddingHorizontal: 12,
+ paddingVertical: 6,
+ },
+ footerContainer: {
+ borderTopColor: theme.colors.border,
+ borderTopStyle: "solid",
+ borderTopWidth: 1,
+ flexDirection: "row",
+ justifyContent: "space-between",
+ marginTop: "auto",
+ paddingTop: 8,
+ },
+ headerContainer: {
+ borderBottomColor: theme.colors.border,
+ borderBottomStyle: "solid",
+ borderBottomWidth: 1.5,
+ flexDirection: "row",
+ justifyContent: "space-between",
+ paddingBottom: 10,
+ },
+ legendContainer: {
+ alignItems: "center",
+ flexDirection: "row",
+ flexWrap: "wrap",
+ gap: 6,
+ marginBottom: 8,
+ },
+ legendDot: {
+ borderRadius: 3,
+ height: 7,
+ marginRight: 4,
+ width: 7,
+ },
+ legendItem: {
+ alignItems: "center",
+ backgroundColor: theme.colors.muted,
+ borderColor: theme.colors.border,
+ borderRadius: 4,
+ borderStyle: "solid",
+ borderWidth: 1,
+ flexDirection: "row",
+ paddingHorizontal: 6,
+ paddingVertical: 2,
+ },
+ page: {
+ backgroundColor: theme.colors.background,
+ boxSizing: "border-box",
+ minHeight: 841,
+ padding: 32,
+ position: "relative",
+ },
+ roomBadge: {
+ backgroundColor: theme.colors.muted,
+ borderColor: theme.colors.border,
+ borderRadius: 3,
+ borderStyle: "solid",
+ borderWidth: 1,
+ paddingHorizontal: 5,
+ paddingVertical: 1,
+ },
+ sessionCard: {
+ backgroundColor: theme.colors.background,
+ borderColor: theme.colors.border,
+ borderRadius: 6,
+ borderStyle: "solid",
+ borderWidth: 1,
+ flex: 1,
+ flexDirection: "column",
+ paddingHorizontal: 10,
+ paddingVertical: 7,
+ position: "relative",
+ },
+ sessionsRow: {
+ flex: 1,
+ flexDirection: "row",
+ gap: 8,
+ },
+ timeBox: {
+ alignItems: "flex-start",
+ flexDirection: "column",
+ paddingTop: 2,
+ width: 78,
+ },
+ timeSlotRow: {
+ flexDirection: "row",
+ marginBottom: 8,
+ },
+ trackBadge: {
+ borderRadius: 3,
+ paddingHorizontal: 6,
+ paddingVertical: 1,
+ },
+ });
+
+ return (
+ <Document title={`${data.eventName} - Agenda`}>
+ {data.days.map((day, dayIndex) => {
+ const timeSlots = groupSessionsByTime(day.sessions);
+
+ return (
+ <Page key={day.label} size="A4" style={styles.page}>
+ {/* Header */}
+ <View style={styles.headerContainer}>
+ <View style={{ flex: 1, paddingRight: 16 }}>
+ <Text
+ style={{
+ color: accent,
+ fontSize: 8.5,
+ fontWeight: "bold",
+ letterSpacing: 1.2,
+ marginBottom: 2,
+ textTransform: "uppercase",
+ }}
+ noMargin
+ >
+ Event Agenda
+ </Text>
+ <Text
+ style={{
+ fontSize: 20,
+ fontWeight: "bold",
+ lineHeight: 1.2,
+ marginBottom: 4,
+ }}
+ noMargin
+ >
+ {data.eventName}
+ </Text>
+ <Text
+ style={{ color: theme.colors.mutedForeground, fontSize: 8.5 }}
+ noMargin
+ >
+ {data.date}
+ {data.endDate ? ` – ${data.endDate}` : ""} • {data.venue}
+ </Text>
+ </View>
+
+ <View
+ style={{ alignItems: "flex-end", justifyContent: "center" }}
+ >
+ <View
+ style={{
+ backgroundColor: accent,
+ borderRadius: 4,
+ paddingHorizontal: 10,
+ paddingVertical: 4,
+ }}
+ >
+ <Text
+ style={{
+ color: "#ffffff",
+ fontSize: 10,
+ fontWeight: "bold",
+ letterSpacing: 0.8,
+ textTransform: "uppercase",
+ }}
+ noMargin
+ >
+ AGENDA
+ </Text>
+ </View>
+ </View>
+ </View>
+
+ {/* Day Title Banner */}
+ <View style={styles.dayBanner}>
+ <View
+ style={{ alignItems: "center", flexDirection: "row", gap: 6 }}
+ >
+ <Text style={{ fontSize: 11, fontWeight: "bold" }} noMargin>
+ {day.label}
+ </Text>
+ <Text
+ style={{ color: theme.colors.mutedForeground, fontSize: 9 }}
+ noMargin
+ >
+ — {day.date}
+ </Text>
+ </View>
+
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 8.5,
+ fontWeight: 600,
+ }}
+ noMargin
+ >
+ Day {dayIndex + 1} of {data.days.length}
+ </Text>
+ </View>
+
+ {/* Track Legend (if available) */}
+ {data.tracks && data.tracks.length > 0 && (
+ <View style={styles.legendContainer}>
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7.5,
+ fontWeight: "bold",
+ letterSpacing: 0.5,
+ marginRight: 4,
+ textTransform: "uppercase",
+ }}
+ noMargin
+ >
+ Tracks:
+ </Text>
+ {data.tracks.map((track) => (
+ <View key={track.name} style={styles.legendItem}>
+ <View
+ style={[
+ styles.legendDot,
+ { backgroundColor: track.color },
+ ]}
+ />
+ <Text style={{ fontSize: 7.5, fontWeight: 600 }} noMargin>
+ {track.name}
+ </Text>
+ </View>
+ ))}
+ </View>
+ )}
+
+ {/* Sessions Time Grid */}
+ <Section style={{ marginTop: 2 }}>
+ {timeSlots.map((slot) => {
+ const isSingleBreak =
+ slot.sessions.length === 1 && slot.sessions[0].isBreak;
+
+ return (
+ <View key={slot.time} style={styles.timeSlotRow}>
+ {/* Time Column */}
+ <View style={styles.timeBox}>
+ <Text
+ style={{
+ color: theme.colors.foreground,
+ fontSize: 9,
+ fontWeight: "bold",
+ }}
+ noMargin
+ >
+ {slot.time}
+ </Text>
+ {slot.sessions[0].endTime && (
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7.5,
+ }}
+ noMargin
+ >
+ to {slot.sessions[0].endTime}
+ </Text>
+ )}
+ </View>
+
+ {/* Content Column */}
+ {isSingleBreak ? (
+ <View style={styles.breakCard}>
+ <View
+ style={{
+ alignItems: "center",
+ flexDirection: "row",
+ justifyContent: "space-between",
+ }}
+ >
+ <Text
+ style={{
+ color: theme.colors.foreground,
+ fontSize: 9.5,
+ fontWeight: "bold",
+ }}
+ noMargin
+ >
+ {slot.sessions[0].title}
+ </Text>
+ <View style={styles.breakBadge}>
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7,
+ fontWeight: "bold",
+ letterSpacing: 0.5,
+ textTransform: "uppercase",
+ }}
+ noMargin
+ >
+ Break
+ </Text>
+ </View>
+ </View>
+ {slot.sessions[0].description && (
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7.5,
+ marginTop: 2,
+ }}
+ noMargin
+ >
+ {slot.sessions[0].description}
+ </Text>
+ )}
+ </View>
+ ) : (
+ <View style={styles.sessionsRow}>
+ {slot.sessions.map((session, sIndex) => {
+ const trackColor = session.track
+ ? trackColorMap.get(session.track.toLowerCase())
+ : undefined;
+
+ return (
+ <View
+ key={`${session.title}-${sIndex}`}
+ style={[
+ styles.sessionCard,
+ trackColor
+ ? {
+ borderLeftColor: trackColor,
+ borderLeftWidth: 3,
+ }
+ : {},
+ ]}
+ >
+ {/* Track & Room Metadata */}
+ <View
+ style={{
+ alignItems: "center",
+ flexDirection: "row",
+ gap: 4,
+ marginBottom: 3,
+ }}
+ >
+ {session.track && (
+ <View
+ style={[
+ styles.trackBadge,
+ {
+ backgroundColor: trackColor
+ ? `${trackColor}1A`
+ : theme.colors.muted,
+ },
+ ]}
+ >
+ <Text
+ style={{
+ color:
+ trackColor ?? theme.colors.foreground,
+ fontSize: 7,
+ fontWeight: "bold",
+ }}
+ noMargin
+ >
+ {session.track}
+ </Text>
+ </View>
+ )}
+ {session.room && (
+ <View style={styles.roomBadge}>
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7,
+ fontWeight: 600,
+ }}
+ noMargin
+ >
+ {session.room}
+ </Text>
+ </View>
+ )}
+ </View>
+
+ {/* Title */}
+ <Text
+ style={{
+ fontSize: 9,
+ fontWeight: "bold",
+ lineHeight: 1.25,
+ }}
+ noMargin
+ >
+ {session.title}
+ </Text>
+
+ {/* Speaker */}
+ {session.speaker && (
+ <Text
+ style={{
+ color: accent,
+ fontSize: 7.8,
+ fontWeight: 600,
+ marginTop: 2,
+ }}
+ noMargin
+ >
+ {session.speaker}
+ </Text>
+ )}
+
+ {/* Description */}
+ {session.description && (
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7.2,
+ lineHeight: 1.2,
+ marginTop: 2,
+ }}
+ noMargin
+ >
+ {session.description}
+ </Text>
+ )}
+ </View>
+ );
+ })}
+ </View>
+ )}
+ </View>
+ );
+ })}
+ </Section>
+
+ {/* Footer */}
+ <View style={styles.footerContainer}>
+ <View style={{ flexDirection: "column", gap: 1 }}>
+ {data.wifiInfo && (
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7.5,
+ fontWeight: 600,
+ }}
+ noMargin
+ >
+ Wi-Fi: {data.wifiInfo}
+ </Text>
+ )}
+ {data.emergencyContact && (
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7.2,
+ }}
+ noMargin
+ >
+ {data.emergencyContact}
+ </Text>
+ )}
+ </View>
+
+ <View style={{ alignItems: "flex-end" }}>
+ <Text
+ style={{
+ color: theme.colors.mutedForeground,
+ fontSize: 7.5,
+ fontWeight: 600,
+ }}
+ noMargin
+ >
+ Page {dayIndex + 1} of {data.days.length}
+ </Text>
+ </View>
+ </View>
+ </Page>
+ );
+ })}
+ </Document>
+ );
+};
+
+export const EventAgendaDocument = ({
+ theme,
+ data = sampleEventAgendaData,
+}: {
+ theme?: PdfcnTheme;
+ data?: EventAgendaProps;
+}) => (
+ <PdfcnThemeProvider theme={theme}>
+ <EventAgendaContent data={data} />
+ </PdfcnThemeProvider>
+);
+
+export { EventAgendaDocument as EventAgenda };
diff --git a/apps/web/registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts b/apps/web/registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts
new file mode 100644
index 0000000..e25e2ac
--- /dev/null
+++ b/apps/web/registry/bases/takumi/blocks/event-agenda/event-agenda.types.ts
@@ -0,0 +1,244 @@
+export interface Session {
+ description?: string;
+ endTime?: string;
+ isBreak?: boolean;
+ room?: string;
+ speaker?: string;
+ time: string;
+ title: string;
+ track?: string;
+}
+
+export interface DaySchedule {
+ date: string;
+ label: string;
+ sessions: Session[];
+}
+
+export interface Track {
+ color: string;
+ name: string;
+}
+
+export interface EventAgendaProps {
+ accentColor?: string;
+ date: string;
+ days: DaySchedule[];
+ emergencyContact?: string;
+ endDate?: string;
+ eventName: string;
+ renderingBase?: "takumi" | "forme";
+ tracks?: Track[];
+ venue: string;
+ wifiInfo?: string;
+}
+
+export const sampleEventAgendaData: EventAgendaProps = {
+ accentColor: "#dc2626",
+ date: "October 20, 2026",
+ days: [
+ {
+ date: "October 20, 2026",
+ label: "Day 1",
+ sessions: [
+ {
+ description:
+ "Check-in, grab your badge, and enjoy breakfast with peers.",
+ endTime: "9:00 AM",
+ isBreak: true,
+ time: "8:00 AM",
+ title: "Registration & Breakfast",
+ },
+ {
+ description:
+ "An overview of recent evolutions and the road ahead for UI engineering.",
+ endTime: "9:45 AM",
+ room: "Main Hall",
+ speaker: "Dan Abramov",
+ time: "9:00 AM",
+ title: "Opening Keynote: The Next Decade of React",
+ track: "Core React",
+ },
+ {
+ description:
+ "Real-world architecture patterns, streaming benefits, and edge-case handling.",
+ endTime: "10:45 AM",
+ room: "Room A",
+ speaker: "Sarah Chen",
+ time: "10:00 AM",
+ title: "Server Components in Production",
+ track: "Core React",
+ },
+ {
+ description:
+ "Navigating signals, atomic state, and server state synchronization.",
+ endTime: "10:45 AM",
+ room: "Room B",
+ speaker: "Mark Erikson",
+ time: "10:00 AM",
+ title: "State Management in 2026",
+ track: "Ecosystem",
+ },
+ {
+ description: "Exhibition hall coffee stations open.",
+ endTime: "11:30 AM",
+ isBreak: true,
+ time: "11:00 AM",
+ title: "Coffee & Networking Break",
+ },
+ {
+ description:
+ "Ensuring WCAG AAA compliance with composable headless components.",
+ endTime: "12:15 PM",
+ room: "Room A",
+ speaker: "Rachel Andrew",
+ time: "11:30 AM",
+ title: "Building Accessible Design Systems",
+ track: "Core React",
+ },
+ {
+ description:
+ "How automatic memoization transforms rendering pipelines.",
+ endTime: "12:15 PM",
+ room: "Room B",
+ speaker: "Andrew Clark",
+ time: "11:30 AM",
+ title: "Compiler Deep Dive: Under the Hood",
+ track: "Ecosystem",
+ },
+ {
+ description: "Lunch served in the Grand Ballroom.",
+ endTime: "1:45 PM",
+ isBreak: true,
+ time: "12:30 PM",
+ title: "Catered Lunch & Sponsor Showcase",
+ },
+ {
+ description:
+ "Hands-on exercises exploring Actions, optimistic updates, and new hooks.",
+ endTime: "3:30 PM",
+ room: "Workshop Lab",
+ speaker: "Ken Wheeler",
+ time: "2:00 PM",
+ title: "Interactive Workshop: Building with React 19",
+ track: "Workshop",
+ },
+ {
+ description:
+ "Module federation techniques across distributed product teams.",
+ endTime: "3:00 PM",
+ room: "Room A",
+ speaker: "Zack Jackson",
+ time: "2:00 PM",
+ title: "Micro-Frontends at Scale",
+ track: "Ecosystem",
+ },
+ {
+ endTime: "4:00 PM",
+ isBreak: true,
+ time: "3:30 PM",
+ title: "Afternoon Refreshments",
+ },
+ {
+ description:
+ "Reflections on Day 1 highlights, open mic session, and evening preview.",
+ endTime: "5:00 PM",
+ room: "Main Hall",
+ speaker: "Sophie Alpert",
+ time: "4:00 PM",
+ title: "Closing Keynote & Community Q&A",
+ track: "Core React",
+ },
+ ],
+ },
+ {
+ date: "October 21, 2026",
+ label: "Day 2",
+ sessions: [
+ {
+ description: "Morning refreshments in the networking lounge.",
+ endTime: "9:30 AM",
+ isBreak: true,
+ time: "8:30 AM",
+ title: "Welcome Coffee & Light Breakfast",
+ },
+ {
+ description:
+ "How generative agents and generative UI are shaping application architectures.",
+ endTime: "10:30 AM",
+ room: "Main Hall",
+ speaker: "Seb Markbåge",
+ time: "9:30 AM",
+ title: "Future of React & AI Agent Integrations",
+ track: "Core React",
+ },
+ {
+ description:
+ "Actionable metrics, Core Web Vitals, and avoiding main-thread bottlenecks.",
+ endTime: "11:45 AM",
+ room: "Room A",
+ speaker: "Addy Osmani",
+ time: "10:45 AM",
+ title: "Performance Profiling for Modern Web Apps",
+ track: "Core React",
+ },
+ {
+ description:
+ "Sync engines, conflict resolution, and ultra-fast client-side queries.",
+ endTime: "11:45 AM",
+ room: "Room B",
+ speaker: "Tanner Linsley",
+ time: "10:45 AM",
+ title: "Offline-First Architecture with Local-First Databases",
+ track: "Ecosystem",
+ },
+ {
+ description:
+ "Quick 5-minute community-submitted presentations in the theater.",
+ endTime: "1:15 PM",
+ isBreak: true,
+ time: "12:00 PM",
+ title: "Lunch & Community Lightning Talks",
+ },
+ {
+ description:
+ "Profiling real-world codebases, memory leak identification, and bundle size reduction.",
+ endTime: "3:00 PM",
+ room: "Workshop Lab",
+ speaker: "Lydia Hallie",
+ time: "1:30 PM",
+ title: "Hands-on Performance Optimization Workshop",
+ track: "Workshop",
+ },
+ {
+ description:
+ "Vite, Turbopack, Biome, Oxfmt, and next-generation dev speed.",
+ endTime: "4:15 PM",
+ room: "Main Hall",
+ speaker: "Industry Panelists",
+ time: "3:15 PM",
+ title: "Panel Discussion: What's Next for Developer Tooling",
+ track: "Ecosystem",
+ },
+ {
+ description: "Drinks and appetizers at the convention terrace.",
+ endTime: "6:00 PM",
+ isBreak: true,
+ time: "4:30 PM",
+ title: "Closing Reception & Networking Afterparty",
+ },
+ ],
+ },
+ ],
+ emergencyContact:
+ "Organizers Desk: +31 20 123 4567 | [email protected]",
+ endDate: "October 21, 2026",
+ eventName: "React Summit 2026",
+ tracks: [
+ { color: "#3b82f6", name: "Core React" },
+ { color: "#10b981", name: "Ecosystem" },
+ { color: "#f59e0b", name: "Workshop" },
+ ],
+ venue: "Amsterdam Convention Center",
+ wifiInfo: "Network: ReactSummit / Password: react2026",
+};