---
title: "Speech to text animated icon"
description: "Speech to text animated icon (AI · Creation). Voice bars settle into pills as their words are written out in chunks below and stay."
canonical: https://generativeicons.com/icons/speech-to-text/
---

# Speech to text animated icon

Voice bars settle into pills as their words are written out in chunks below and stay.

- Id: `speech-to-text`
- Category: AI · Creation
- Search terms: stt, transcription, transcribe, dictation, dictate, voice typing, voice to text, speech recognition, asr, voice input
- 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/speech-to-text.lottie (dotLottie, 22862 bytes, sha256 6b54ed5bf88a07aa9e0f03be5f1b33fd381fb139663d1d4c08690cbf77090d32)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add speech-to-text
```

## React

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

export function SpeechToTextIcon() {
  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/speech-to-text.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/speech-to-text/ · https://generativeicons.com/api/icons/speech-to-text
