---
title: "Beer mug animated icon"
description: "Beer mug animated icon (Food & Drink). Cheers: the mug is raised and clinks. Light: the mug lifts and tips toward the right, stops dead at the clink as three sparks flash out from its rim, recoils a little and comes back down; the foam head sloshes on over the rim a beat behind the stop and settles. Strong: the mug draws back first, swings in harder to the clink, recoils and clinks a second, smaller time with a second flash, then comes down; the foam sloshes harder with a second swing. The glass stays rigid."
canonical: https://generativeicons.com/icons/beer-mug/
---

# Beer mug animated icon

Cheers: the mug is raised and clinks. Light: the mug lifts and tips toward the right, stops dead at the clink as three sparks flash out from its rim, recoils a little and comes back down; the foam head sloshes on over the rim a beat behind the stop and settles. Strong: the mug draws back first, swings in harder to the clink, recoils and clinks a second, smaller time with a second flash, then comes down; the foam sloshes harder with a second swing. The glass stays rigid.

- Id: `beer-mug`
- Category: Food & Drink
- Search terms: pint, lager, ale, stout, pub, brewery, cheers, happy hour, stein, tankard, draught, draft beer, oktoberfest, alcohol
- 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/beer-mug.lottie (dotLottie, 4413 bytes, sha256 9c8271f85cdb08a597791540dd3ddd1531bd8dba9a854c8492dcbfc1e310b153)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add beer-mug
```

## React

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

export function BeerMugIcon() {
  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/beer-mug.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/beer-mug/ · https://generativeicons.com/api/icons/beer-mug
