---
title: "Chef hat animated icon"
description: "Chef hat animated icon (Food & Drink). The chef's work is done to perfection: the toque puffs up proudly and a sparkle twinkles. Light: the soft crown puffs up taller and rounder from the band, a sparkle twinkles at its upper right as it peaks, and the crown settles back with one small rebound. Strong: the crown squishes down first, puffs up bigger, a sparkle twinkles at the upper right and a second one at the upper left in turn, and the crown settles in two decaying swings. The band never moves."
canonical: https://generativeicons.com/icons/chef-hat/
---

# Chef hat animated icon

The chef's work is done to perfection: the toque puffs up proudly and a sparkle twinkles. Light: the soft crown puffs up taller and rounder from the band, a sparkle twinkles at its upper right as it peaks, and the crown settles back with one small rebound. Strong: the crown squishes down first, puffs up bigger, a sparkle twinkles at the upper right and a second one at the upper left in turn, and the crown settles in two decaying swings. The band never moves.

- Id: `chef-hat`
- Category: Food & Drink
- Search terms: toque, cook, cooking, cuisine, culinary, gourmet, head chef, baker, kitchen, cooking class, catering
- 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/chef-hat.lottie (dotLottie, 5814 bytes, sha256 ea2ea2aefc00cb696964acaa804b094f789874f9762eb474cfca98827d6e1e01)
- License: MIT

## Install

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

## React

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

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