---
title: ticket, an IconMuse music icon
description: Ticket icon (Library & Social). Tags: concert, gig, event, admission. SVG, React, SwiftUI, Flutter and Compose usage.
---

# ticket

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

- **Category:** Library & Social
- **Tags:** concert, gig, event, admission
- **SVG file:** https://icons.chordmuse.app/svg/ticket.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="M2 9a3 3 0 0 1 0 6v3a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3a3 3 0 0 1 0-6V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z"/><path d="M16 4v2"/><path d="M16 11v2"/><path d="M16 18v2"/><path d="M6.4 14.5A1.6 1.6 0 1 0 9.6 14.5A1.6 1.6 0 1 0 6.4 14.5Z"/><path d="M9.6 14.5V9l2.5 1"/></svg>
```

## Usage

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

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

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

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

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