---
title: "Autofill animated icon"
description: "Autofill animated icon (Forms & input). Saved details autofill a form. Light: the lightning bolt beside two empty fields kicks up and strikes down, and both fields fill at once: the top value writes in fast and the bottom one follows a beat behind. Strong: the bolt winds up higher and strikes harder with a rebound, each value snaps in and its field pops as it lands. The values stay filled; the reverse clears them bottom first."
canonical: https://generativeicons.com/icons/autofill/
---

# Autofill animated icon

Saved details autofill a form. Light: the lightning bolt beside two empty fields kicks up and strikes down, and both fields fill at once: the top value writes in fast and the bottom one follows a beat behind. Strong: the bolt winds up higher and strikes harder with a rebound, each value snaps in and its field pops as it lands. The values stay filled; the reverse clears them bottom first.

- Id: `autofill`
- Category: Forms & input
- Search terms: auto fill, auto-fill, prefill, pre-fill, auto populate, populate form, fill form, quick fill, saved details, smart fill, instant fill
- Two states: empty to filled, 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/autofill.lottie (dotLottie, 9565 bytes, sha256 26764600f547a7f7ac7bc8e16021a49ca7c9a47333c82ef22371eec9aaee1fa3)
- License: MIT

## Install

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

## React

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

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