---
title: speaker, an IconMuse music icon
description: Speaker icon (Devices & Gear). Tags: loudspeaker, monitor, hifi. SVG, React, SwiftUI, Flutter and Compose usage.
---

# speaker

![speaker](https://icons.chordmuse.app/svg/speaker.svg)

- **Category:** Devices & Gear
- **Tags:** loudspeaker, monitor, hifi
- **SVG file:** https://icons.chordmuse.app/svg/speaker.svg
- **Gallery:** https://icons.chordmuse.app/

## SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 2H17A2 2 0 0 1 19 4V20A2 2 0 0 1 17 22H7A2 2 0 0 1 5 20V4A2 2 0 0 1 7 2Z"/><path d="M8 14A4 4 0 1 0 16 14A4 4 0 1 0 8 14Z"/><path d="M11.2 14A0.8 0.8 0 1 0 12.8 14A0.8 0.8 0 1 0 11.2 14Z" fill="currentColor"/><path d="M10.7 6.5A1.3 1.3 0 1 0 13.3 6.5A1.3 1.3 0 1 0 10.7 6.5Z"/></svg>
```

## Usage

```html
<!-- Any website -->
<script type="module" src="https://icons.chordmuse.app/dist/icon-muse.js"></script>
<icon-muse name="speaker" size="24" label="speaker"></icon-muse>
```

```tsx
// React / Next.js (npm package "iconmuse")
import { IconMuse } from 'iconmuse/react';
<IconMuse name="speaker" size={24} />
```

```swift
// SwiftUI (Swift Package "IconMuse")
import IconMuse
IconMuse.speaker.image
```

```dart
// Flutter (package:iconmuse)
IconMuse(IconMuseIcons.speaker)
```

```kotlin
// Jetpack Compose (app.chordmuse:iconmuse)
Icon(painterResource(IconMuse.speaker), contentDescription = "speaker")
// or R.drawable.ic_iconmuse_speaker
```
