---
title: "Voice command animated icon"
description: "Voice command animated icon (Voice). A spoken command triggers an action. Light: a pair of sound arcs travels in from the upper sides and fades into the microphone capsule, and as it lands the lightning bolt beside it fires: it pops bigger with a quick twist and settles. Strong: two words arrive in turn; the bolt crouches on the first and fires on the second, popping bigger with a crackling shake before it settles. The microphone never moves."
canonical: https://generativeicons.com/icons/voice-command/
---

# Voice command animated icon

A spoken command triggers an action. Light: a pair of sound arcs travels in from the upper sides and fades into the microphone capsule, and as it lands the lightning bolt beside it fires: it pops bigger with a quick twist and settles. Strong: two words arrive in turn; the bolt crouches on the first and fires on the second, popping bigger with a crackling shake before it settles. The microphone never moves.

- Id: `voice-command`
- Category: Voice
- Search terms: voice control, voice action, voice shortcut, spoken command, speech command, say a command, hands-free control, voice automation, instant action
- One action, back to rest
- 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/voice-command.lottie (dotLottie, 6980 bytes, sha256 5af26795d0d59de6d672922f8dee1ac54ea4d6ce210c3961bff3b368f7535d56)
- License: MIT

## Install

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

## React

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

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