---
title: "Medal animated icon"
description: "Medal animated icon (Gamification & rewards). The medal is won and gleams. Light: the medal swings out 20 degrees on its ribbon knot and, at the top of the swing, its star flashes larger and turns one point before the medal settles. Strong: the medal is knocked back, swings out 30 degrees and rings down through decaying swings while the star flashes twice and turns two points. The ribbon never moves."
canonical: https://generativeicons.com/icons/medal/
---

# Medal animated icon

The medal is won and gleams. Light: the medal swings out 20 degrees on its ribbon knot and, at the top of the swing, its star flashes larger and turns one point before the medal settles. Strong: the medal is knocked back, swings out 30 degrees and rings down through decaying swings while the star flashes twice and turns two points. The ribbon never moves.

- Id: `medal`
- Category: Gamification & rewards
- Search terms: gold medal, silver medal, bronze medal, medallion, award, prize, honor, honour, ribbon, olympic, recognition, rank, merit
- 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/medal.lottie (dotLottie, 6207 bytes, sha256 451f8bca00da64be5d5b8bce552166ffa1811563b77b695d1f1c804b22666766)
- License: MIT

## Install

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

## React

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

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