---
title: "Pizza animated icon"
description: "Pizza animated icon (Food & Drink). Light: the slice's tip sags 1.2 units and springs back. Strong: the slice is lifted 2 units, its tip droops 3 units, rebounds once and settles."
canonical: https://generativeicons.com/icons/pizza/
---

# Pizza animated icon

Light: the slice's tip sags 1.2 units and springs back. Strong: the slice is lifted 2 units, its tip droops 3 units, rebounds once and settles.

- Id: `pizza`
- Category: Food & Drink
- Search terms: slice, pepperoni, pizzeria, italian food, fast food, takeout, takeaway, junk food, cheese, pizza delivery, margherita, pizza party
- 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/pizza.lottie (dotLottie, 26228 bytes, sha256 f598238342d61f11b4a74f2546cda601a9d465ca84d2007c76b3e5a806035f81)
- License: MIT

## Install

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

## React

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

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