---
title: "Ticket scan animated icon"
description: "Ticket scan animated icon (Events & tickets). The ticket's code is read at the gate. Light: the scan bar sweeps down over the code at a steady speed, each block of the code blinks in reading order as the bar crosses it, and the bar flicks back up to its start, quicker than it went. Strong: the same read with harder blinks, and as the bar flicks back the ticket is admitted: it hops once and lands with a small bounce. The ticket stays rigid with all its print."
canonical: https://generativeicons.com/icons/ticket-scan/
---

# Ticket scan animated icon

The ticket's code is read at the gate. Light: the scan bar sweeps down over the code at a steady speed, each block of the code blinks in reading order as the bar crosses it, and the bar flicks back up to its start, quicker than it went. Strong: the same read with harder blinks, and as the bar flicks back the ticket is admitted: it hops once and lands with a small bounce. The ticket stays rigid with all its print.

- Id: `ticket-scan`
- Category: Events & tickets
- Search terms: qr ticket, barcode ticket, mobile ticket, e-ticket, validate ticket, ticket validation, verify ticket, gate scan, entry scan
- 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/ticket-scan.lottie (dotLottie, 6113 bytes, sha256 42932584994a4560c04ffeeddcd028e850deae1f80cc8200f53a04468fc2c517)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add ticket-scan
```

## React

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

export function TicketScanIcon() {
  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/ticket-scan.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/ticket-scan/ · https://generativeicons.com/api/icons/ticket-scan
