---
title: "Formula animated icon"
description: "Formula animated icon (Tables & analytics). The caret advances from f to the end of the line, then the x is typed into the cleared space behind it. Light: quiet glide, then two unhurried strokes. Strong: brief hold, fast launch with one bounded settle, then two fast strokes."
canonical: https://generativeicons.com/icons/formula/
---

# Formula animated icon

The caret advances from f to the end of the line, then the x is typed into the cleared space behind it. Light: quiet glide, then two unhurried strokes. Strong: brief hold, fast launch with one bounded settle, then two fast strokes.

- Id: `formula`
- Category: Tables & analytics
- Search terms: fx, function, insert function, equation, expression, math, calculated field, computed field, excel function, cell function
- Two states: prepared to result, played forward and back
- 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/formula.lottie (dotLottie, 6900 bytes, sha256 70e4fee319b7cb0dfa8cc4704a0eb12df6c57463307c8300ab4aaa5e9b89b030)
- License: MIT

## Install

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

## React

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

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