LessonKit documentation¶
LessonKit documentation
Build learning experiences that ship to your LMS
LessonKit is a framework for accessible, trackable courses—authored in React, packaged for SCORM and modern learning platforms, with built-in telemetry and xAPI.
Pick the path that matches how you work:
No React required. Use Cursor, Copilot, or ChatGPT with copy-paste prompts to scaffold a course, edit content, preview locally, and package for your LMS.
You know React. Compose Course / Lesson / Quiz, wire telemetry and xAPI, theme with ThemeProvider, and export with the CLI or @lessonkit/lxpack.
Coming from H5P?
You can map familiar H5P content types to LessonKit components and rebuild them as native React blocks—LessonKit does not import .h5p files or integrate with H5P Hub. Start with Coming from H5P? and the H5P capability map.
New to React?
LessonKit courses are React apps. If you want to learn React before the developer guides, start with curated free resources (react.dev, TypeScript, Vite), then follow Getting started in 5 minutes or the quickstart. Prefer to skip React? Use vibe coding instead.
What you need¶
See the Node.js decision table for version requirements by task.
Documentation map¶
Getting started
Questions?
See the FAQ or troubleshooting hub.
FAQ and troubleshooting
Examples
Guides — vibe coding
- Vibe coding with LessonKit
- Getting started (vibe coding)
- Your first course (without reading React)
- Prompting and workflows
- Shipping to an LMS
- Troubleshooting (vibe coding)
- Quick decision tree
lessonkit: command not foundnpm run devopens but the page is blank- Quiz does not mark complete
- LMS does not record completion after SCORM upload
- Packaging says layout not supported
- “Could not find lessonkit.json”
- AI changed IDs and tracking looks wrong
- Node version errors during package
- Still stuck?
- Library Skills for AI agents
Guides — H5P authors
Ship to LMS
Guides — React developers
- React developer guides
- Getting started in 5 minutes
- Quickstart (React)
- Block cookbook
- Project structure
- Components and hooks
- Telemetry and xAPI
- Theming and accessibility
- Touch and mobile (web)
- Packaging and CLI
- Deployment guide
- LRS and telemetry operations
- Multi-course patterns
- Performance
- Plugin cookbook — console analytics
- Contributing to the monorepo
- Adding a framework block
- Plugin marketplace research (1.7.x)
Reference
- Glossary
- lessonkit.json manifest reference (1.7.x)
- Portable interchange (
.lkcourse) (1.7.x) - API reference
- LessonKit CLI (1.7.x)
- CLI and packaging error catalog
@lessonkit/corereference (1.7.x)- Packaging with LXPack (1.7.x)
- LMS compatibility
- Identity model (1.7.x)
- Telemetry & xAPI (1.7.x)
- xAPI reference (
@lessonkit/xapi) - Theming (1.0+)
- Accessibility (framework 1.x)
- Runtime block catalog (v3 default)
- Generated block prop reference (catalog v3)
- Component pages
- Component gallery (Storybook)
- LessonKit plugin architecture (v1)
- LXPack bridge reference (1.0)
- LXPack interoperability
Evaluators