Collage¶
H5P equivalent
H5P Collage
When to use¶
Use Collage for multi-image grids with optional captions — mood boards, team photos, or panel comparisons.
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.
<Collage
blockId="ops-overview"
columns={2}
cells={[
{ id: "map", src: "/assembly-map.svg", alt: "Assembly points", caption: "Assembly points" },
{ id: "team", src: "/wardens.jpg", alt: "Floor wardens", caption: "Floor wardens" },
]}
/>
Copy into Cursor, Copilot, or ChatGPT after the vibe coding starter context:
Read lessonkit.json and src/App.tsx before editing.
Add a Collage block (H5P-style: Collage) like this example inside the active <Lesson>:
<Collage
blockId="ops-overview"
columns={2}
cells={[
{ id: "map", src: "/assembly-map.svg", alt: "Assembly points", caption: "Assembly points" },
{ id: "team", src: "/wardens.jpg", alt: "Floor wardens", caption: "Floor wardens" },
]}
/>
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