lmscn

Introduction

A collection of plug-and-play React learning components built on shadcn/ui and Tailwind CSS v4.

lmscn gives you ten production-ready interactive learning components you can drop into any Next.js + shadcn/ui project. Every component is fully typed, accessible, and wired up with an onComplete callback so you can integrate with your LMS backend in minutes.

Components

ComponentDescription
QuizMultiple-choice, single-choice, and true/false questions with scoring
FlashcardsFlippable cards with optional Again/Hard/Good/Easy self-rating
MatchTwo-column term-to-definition matching
Fill in the BlankInline cloze exercises with multiple blanks per sentence
ScrambleLetter-tile unscrambling with image and text clues
OrderDrag-and-drop (or keyboard) sequencing
Reading PassagePassage + comprehension questions in a three-phase flow
Progress TrackerDuolingo-style visual learning path with XP, levels, and streaks
Spaced RepetitionSM-2 algorithm review sessions with self-grading
HotspotClick-to-label image annotation

Stack requirements

ToolVersion
Next.js16+
React19
Tailwind CSSv4
shadcn/ui3

Quick start

# 1. Initialise shadcn/ui if you haven't already
npx shadcn@latest init

# 2. Install all required primitives
npx shadcn@latest add button card progress badge input scroll-area separator tooltip popover

# 3. Add the components you need
npx shadcn@latest add https://lmscn.vercel.app/r/quiz.json
npx shadcn@latest add https://lmscn.vercel.app/r/flashcards.json

See the Installation guide for full details, per-component primitive requirements, and Tailwind v4 configuration.

On this page