ParallaxSlideshow

H5P equivalent

H5P Parallax

When to use

Use ParallaxSlideshow for storytelling slides with title, body, and optional background imagery. Respects prefers-reduced-motion.

Slides with background images render title and body on a theme-aware scrim so text stays readable in light and dark presets.

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.

<ParallaxSlideshow
  blockId="program-story"
  slides={[
    { title: "Baseline training", body: "Annual phishing modules for all staff." },
    { title: "Simulations", body: "Quarterly drills with coaching." },
  ]}
/>

Copy into Cursor, Copilot, or ChatGPT after the vibe coding starter context:

Read lessonkit.json and src/App.tsx before editing.

Add a ParallaxSlideshow block (H5P-style: Parallax) like this example inside the active <Lesson>:

<ParallaxSlideshow
  blockId="program-story"
  slides={[
    { title: "Baseline training", body: "Annual phishing modules for all staff." },
    { title: "Simulations", body: "Quarterly drills with coaching." },
  ]}
/>

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

See also

  • SlideDeck — structured deck with assessments