App UI kits › Margin › Quiz
Every answer explains itself with the lesson line it came from and the second it was said.
Quiz is a screen from Margin, an app ui kit with 12 screens: An online course app whose transcript follows the lesson line by line and turns any line into a note pinned to that second. Price: $5 for the whole pack.
Built with: explained answers, shake on wrong, score ring.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
onDone | (score: number) => void |
answer(i: number): voidnext(): voiddestroy(): voidimport MarginQuiz from './MarginQuiz';
<MarginQuiz />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: E-learning app UI, UK (pounds).