---
title: "Event badge animated icon"
description: "Event badge animated icon (Events & tickets). The badge is shown at the door and its holder is recognised. Light: the badge is flicked up on its lanyard, the attendee's head pops at the top of the swing as they are recognised, and the badge swings back and settles. Strong: a small wind-up, a wider flick, the head pops harder and the shoulders lift with it a beat later, and the badge rocks to rest in decaying swings. The lanyard never moves; the card stays rigid."
canonical: https://generativeicons.com/icons/event-badge/
---

# Event badge animated icon

The badge is shown at the door and its holder is recognised. Light: the badge is flicked up on its lanyard, the attendee's head pops at the top of the swing as they are recognised, and the badge swings back and settles. Strong: a small wind-up, a wider flick, the head pops harder and the shoulders lift with it a beat later, and the badge rocks to rest in decaying swings. The lanyard never moves; the card stays rigid.

- Id: `event-badge`
- Category: Events & tickets
- Search terms: lanyard, name badge, name tag, attendee, attendee pass, conference pass, delegate, visitor pass, staff pass, press pass, access pass, credential
- 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/event-badge.lottie (dotLottie, 4325 bytes, sha256 ddd951a121d2a37884a862271bdbbf2e5f3cf8650300f24a0921e6ce95614262)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add event-badge
```

## React

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

export function EventBadgeIcon() {
  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/event-badge.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/event-badge/ · https://generativeicons.com/api/icons/event-badge
