---
title: "Quiz animated icon"
description: "Quiz animated icon (Education). Light: the first answer on the quiz card is selected as a dot grows inside its ring. Strong: the dot snaps in and the whole marker pops 12% and settles. The answer is retained; preview reset rearms."
canonical: https://generativeicons.com/icons/quiz/
---

# Quiz animated icon

Light: the first answer on the quiz card is selected as a dot grows inside its ring. Strong: the dot snaps in and the whole marker pops 12% and settles. The answer is retained; preview reset rearms.

- Id: `quiz`
- Category: Education
- Search terms: test, trivia, assessment, questionnaire, knowledge check, practice test, mcq, mock exam, pop quiz, questions, choose an answer
- Two states: prepared to result, played forward and back
- Styles: outline, solid, duotone; outline weights 1.5, 2, 2.5 (any from 1 to 3); motion light or strong
- File: https://generativeicons.com/assets/quiz.lottie (dotLottie, 9288 bytes, sha256 1b0b13830c631d164532f7599c8d9b7c3110d1193530171fcb1d0dd37087dc37)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add quiz
```

## React

```tsx
// npm install @lottiefiles/generative-icons-react
'use client';
import { AnimatedIcon } from '@lottiefiles/generative-icons-react';
import icon, { src } from './generative-icons/quiz.mjs';

export function QuizIcon() {
  return <AnimatedIcon icon={icon} src={src} size={32}
    color="#ffffff" variant="outline" weight={2}
    motion="light" theme="dark" />;
}
```

## JavaScript

```js
import { createIcon } from '@lottiefiles/generative-icons-runtime';
import icon, { src } from './generative-icons/quiz.mjs';

const handle = await createIcon(canvas, {
  icon, src,
  color: '#ffffff', style: 'outline', weight: 2,
  motion: 'light', theme: 'dark'
});
button.addEventListener('click', () => handle.play());
// On removal: handle.destroy();
```

More: https://generativeicons.com/icons/quiz/ · https://generativeicons.com/api/icons/quiz
