ImageSequence¶
H5P equivalent
H5P Image Sequencing (frames)
When to use¶
Use ImageSequence for step-by-step visuals controlled by a slider — assembly instructions, frame-by-frame diagrams.
Not scored; use ImageSequencing when order must be assessed.
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.
<ImageSequence
blockId="incident-steps"
frames={[
{ src: "/contain.png", alt: "Contain", label: "Contain" },
{ src: "/report.png", alt: "Report", label: "Report" },
{ src: "/document.png", alt: "Document", label: "Document" },
]}
/>
Copy into Cursor, Copilot, or ChatGPT after the vibe coding starter context:
Read lessonkit.json and src/App.tsx before editing.
Add a ImageSequence block (H5P-style: Image Sequencing (frames)) like this example inside the active <Lesson>:
<ImageSequence
blockId="incident-steps"
frames={[
{ src: "/contain.png", alt: "Contain", label: "Contain" },
{ src: "/report.png", alt: "Report", label: "Report" },
{ src: "/document.png", alt: "Document", label: "Document" },
]}
/>
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