---
title: music-box, an IconMuse music icon
description: Music box icon (Devices & Gear). Tags: musical box, wind-up, lullaby. SVG, React, SwiftUI, Flutter and Compose usage.
---

# music-box

![music box](https://icons.chordmuse.app/svg/music-box.svg)

- **Category:** Devices & Gear
- **Tags:** musical box, wind-up, lullaby
- **SVG file:** https://icons.chordmuse.app/svg/music-box.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="M4.5 11H15.5A1.5 1.5 0 0 1 17 12.5V18.5A1.5 1.5 0 0 1 15.5 20H4.5A1.5 1.5 0 0 1 3 18.5V12.5A1.5 1.5 0 0 1 4.5 11Z"/><path d="M3 11 6 4.5h14L17 11"/><path d="M17 15.5h3"/><path d="M20 15.5v3"/><path d="M20 18.5h1.5"/></svg>
```

## Usage

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

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

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

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

```kotlin
// Jetpack Compose (app.chordmuse:iconmuse)
Icon(painterResource(IconMuse.musicBox), contentDescription = "music box")
// or R.drawable.ic_iconmuse_music_box
```
