---
title: staff, an IconMuse music icon
description: Staff icon (Notation). Tags: stave, lines, score. SVG, React, SwiftUI, Flutter and Compose usage.
---

# staff

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

- **Category:** Notation
- **Tags:** stave, lines, score
- **SVG file:** https://icons.chordmuse.app/svg/staff.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="M3 6h18"/><path d="M3 9h18"/><path d="M3 12h18"/><path d="M3 15h18"/><path d="M3 18h18"/></svg>
```

## Usage

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

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

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

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

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