---
title: "Document chat animated icon"
description: "Document chat animated icon (AI · Knowledge). The document types its answer. Light: the cursor dot on the last line hops once like a typing indicator, and the reply line types out from it. Strong: the cursor hops twice, the reply types out in two words, and the finished line drops into place with a small kick and settles. The bubble and the first two lines never move. Ends with the reply line written."
canonical: https://generativeicons.com/icons/document-chat/
---

# Document chat animated icon

The document types its answer. Light: the cursor dot on the last line hops once like a typing indicator, and the reply line types out from it. Strong: the cursor hops twice, the reply types out in two words, and the finished line drops into place with a small kick and settles. The bubble and the first two lines never move. Ends with the reply line written.

- Id: `document-chat`
- Category: AI · Knowledge
- Search terms: chat with pdf, pdf chat, ask pdf, chat with docs, ask your docs, document qa, doc qa, question answering, file chat, talk to file, document assistant
- 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/document-chat.lottie (dotLottie, 6460 bytes, sha256 4d3402d0c25274d7f44c24c8abb9f55f735a21055fd479b6f737a37dca589fd2)
- License: MIT

## Install

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

## React

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

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