---
title: "Sum animated icon"
description: "Sum animated icon (Tables & analytics). The sum is worked out and the total is ruled off. Light: the sigma dims, a pen stroke writes it in one go (top bar, down to the apex, down to the foot) and stops dead at the end of the total bar; then a rule draws under the total and fades. Strong: the pen pauses at the apex before the second half, lands harder and knocks the sigma a step right, which settles, and the rule draws as it lands. The sigma keeps its shape."
canonical: https://generativeicons.com/icons/sum/
---

# Sum animated icon

The sum is worked out and the total is ruled off. Light: the sigma dims, a pen stroke writes it in one go (top bar, down to the apex, down to the foot) and stops dead at the end of the total bar; then a rule draws under the total and fades. Strong: the pen pauses at the apex before the second half, lands harder and knocks the sigma a step right, which settles, and the rule draws as it lands. The sigma keeps its shape.

- Id: `sum`
- Category: Tables & analytics
- Search terms: sigma, total, autosum, add up, summation, subtotal, grand total, addition, running total
- 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/sum.lottie (dotLottie, 3193 bytes, sha256 ba9a1dfee63d78579be8746aa0be88269e162633c0f1e670cfb60342a2c03bb8)
- License: MIT

## Install

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

## React

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

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