---
title: "Switch voice animated icon"
description: "Switch voice animated icon (Voice). The voice passes to the other speaker. Light: the voice marker leaps in an arc from speaker A and lands on speaker B with a hit; B's head and shoulders dip under it and rebound, and a sound arc swells off the side of B's head and fades as B starts speaking. Strong: the marker first presses down on A, who dips with it, and pushes off into a higher leap; it lands harder on B, who takes it in two beats, and B speaks twice. The marker stays on B. The reverse is the same hand-off back to A."
canonical: https://generativeicons.com/icons/switch-voice/
---

# Switch voice animated icon

The voice passes to the other speaker. Light: the voice marker leaps in an arc from speaker A and lands on speaker B with a hit; B's head and shoulders dip under it and rebound, and a sound arc swells off the side of B's head and fades as B starts speaking. Strong: the marker first presses down on A, who dips with it, and pushes off into a higher leap; it lands harder on B, who takes it in two beats, and B speaks twice. The marker stays on B. The reverse is the same hand-off back to A.

- Id: `switch-voice`
- Category: Voice
- Search terms: change voice, swap voice, select voice, choose voice, voice picker, switch speaker, change speaker, swap speaker, next speaker, alternate voice
- Two states: voice-a to voice-b, 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/switch-voice.lottie (dotLottie, 8603 bytes, sha256 5d96660b19c6478c4a6d927fbb6387db7dabe9e4e327b43a376112292ed35fa9)
- License: MIT

## Install

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

## React

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

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