---
title: "Add caption animated icon"
description: "Add caption animated icon (Video editing). Light: two caption lines extend smoothly along the bottom of the frame. Strong: they type in word by word with short holds. The caption is retained; preview reset clears it."
canonical: https://generativeicons.com/icons/add-caption/
---

# Add caption animated icon

Light: two caption lines extend smoothly along the bottom of the frame. Strong: they type in word by word with short holds. The caption is retained; preview reset clears it.

- Id: `add-caption`
- Category: Video editing
- Search terms: subtitles, subtitle, add subtitles, text overlay, add text, on screen text, srt, lower third, caption track
- 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/add-caption.lottie (dotLottie, 6162 bytes, sha256 e407e4692b0356cbdabd5975ec94d0133d1a7be6e20a659e13148e58524dd55d)
- License: MIT

## Install

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

## React

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

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