---
title: "Chalkboard animated icon"
description: "Chalkboard animated icon (Education). Light: chalk writes a wavy line across the board, then underlines it. Strong: the line is written in 0.22 s, the underline snaps in, and the chalk tap jolts the board. The writing is retained; preview reset rearms."
canonical: https://generativeicons.com/icons/chalkboard/
---

# Chalkboard animated icon

Light: chalk writes a wavy line across the board, then underlines it. Strong: the line is written in 0.22 s, the underline snaps in, and the chalk tap jolts the board. The writing is retained; preview reset rearms.

- Id: `chalkboard`
- Category: Education
- Search terms: blackboard, chalk, classroom, teacher, teaching, lesson, class, school, slate, write on board
- 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/chalkboard.lottie (dotLottie, 13120 bytes, sha256 488ce920d7c6aa01c7824ca140bc91bdb57522e4c500f6222cd2704777ac4fc9)
- License: MIT

## Install

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

## React

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

export function ChalkboardIcon() {
  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/chalkboard.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/chalkboard/ · https://generativeicons.com/api/icons/chalkboard
