Timeline¶
H5P equivalent
H5P Timeline
When to use¶
Use Timeline for chronological narratives — product history, policy evolution, or incident timelines. Each event has date, title, and body; optional media per event.
Try it¶
Documentation demo
Use the Live demo, React, AI prompt, and Packaging / Manifest tabs below. Embedded demos disable telemetry, xAPI, and the LMS bridge. For production delivery, use the CLI template src/courseConfig.ts and LMS Go-Live.
<Timeline
blockId="playbook-timeline"
events={[
{ id: "t1", date: "2024-03-15", title: "Tabletop exercise", body: "Gaps in invoice-fraud verification." },
{ id: "t2", date: "2024-06-01", title: "Report phishing rollout", body: "One-click reporting in mail clients." },
]}
/>
Copy into Cursor, Copilot, or ChatGPT after the vibe coding starter context:
Read lessonkit.json and src/App.tsx before editing.
Add a Timeline block (H5P-style: Timeline) like this example inside the active <Lesson>:
<Timeline
blockId="playbook-timeline"
events={[
{ id: "t1", date: "2024-03-15", title: "Tabletop exercise", body: "Gaps in invoice-fraud verification." },
{ id: "t2", date: "2024-06-01", title: "Report phishing rollout", body: "One-click reporting in mail clients." },
]}
/>
Requirements:
- Import only from @lessonkit/react; use block types from block-catalog.v3.json.
- Keep existing courseId, lessonId, and navigation stable unless I ask to add a lesson.
- After edits, list changed files and what to verify in the browser (lessonkit dev).
Workflow tips: https://lessonkit.readthedocs.io/en/latest/guides/vibe-coding/prompting-and-workflows.html