---
title: "Percentage animated icon"
description: "Percentage animated icon (Tables & analytics). The percent is struck. Light: the slash pulls up into its top end and strikes down between the two counters, stopping dead at the bottom; the top counter pops as the stroke passes it and the bottom one pops on the hit. Strong: the slash pulls up and hangs, then strikes harder; each counter is knocked away from the stroke as it pops bigger, rebounds and settles, top first. The counters stay round and open."
canonical: https://generativeicons.com/icons/percentage/
---

# Percentage animated icon

The percent is struck. Light: the slash pulls up into its top end and strikes down between the two counters, stopping dead at the bottom; the top counter pops as the stroke passes it and the bottom one pops on the hit. Strong: the slash pulls up and hangs, then strikes harder; each counter is knocked away from the stroke as it pops bigger, rebounds and settles, top first. The counters stay round and open.

- Id: `percentage`
- Category: Tables & analytics
- Search terms: percent, percent sign, per cent, pct, ratio, proportion, interest rate, tax rate, growth rate, fraction
- 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/percentage.lottie (dotLottie, 3724 bytes, sha256 b0da507f50246aa77105a2dd941b56aedd870ddd76fd9a1d0d796ab64209fe4f)
- License: MIT

## Install

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

## React

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

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