---
title: "Coffee cup animated icon"
description: "Coffee cup animated icon (Food & Drink). Light: two steam wisps drift up 1.6 units, fade and reform above the mug. Strong: the wisps shoot up 2.4 units in 0.3 s and lean as they rise before reforming."
canonical: https://generativeicons.com/icons/coffee-cup/
---

# Coffee cup animated icon

Light: two steam wisps drift up 1.6 units, fade and reform above the mug. Strong: the wisps shoot up 2.4 units in 0.3 s and lean as they rise before reforming.

- Id: `coffee-cup`
- Category: Food & Drink
- Search terms: mug, espresso, latte, cappuccino, americano, cafe, coffee shop, coffee break, hot drink, caffeine, brew, java
- 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/coffee-cup.lottie (dotLottie, 6084 bytes, sha256 72887741a828ffed0fdf4aee285bf10d959e6d47213c0c84c5945340b61b809b)
- License: MIT

## Install

```sh
npm install @lottiefiles/generative-icons-runtime
npx generative-icons init
npx generative-icons add coffee-cup
```

## React

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

export function CoffeeCupIcon() {
  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/coffee-cup.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/coffee-cup/ · https://generativeicons.com/api/icons/coffee-cup
