---
title: "Password strength animated icon"
description: "Password strength animated icon (Forms & input). A password gets stronger. Light: one more masked character pops into the password field, then the strength meter under it fills from weak to strong: the second bar sweeps on and stops dead, then the third. Strong: the character snaps in bigger, each bar strikes on in a quick hit with a short pause between, and the field gives one small lift when the meter is full. The meter never overshoots; the reverse empties it and removes the character."
canonical: https://generativeicons.com/icons/password-strength/
---

# Password strength animated icon

A password gets stronger. Light: one more masked character pops into the password field, then the strength meter under it fills from weak to strong: the second bar sweeps on and stops dead, then the third. Strong: the character snaps in bigger, each bar strikes on in a quick hit with a short pause between, and the field gives one small lift when the meter is full. The meter never overshoots; the reverse empties it and removes the character.

- Id: `password-strength`
- Category: Forms & input
- Search terms: password meter, strength meter, strength indicator, strong password, weak password, secure password, password complexity, password checker, password rules
- Two states: weak to strong, 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/password-strength.lottie (dotLottie, 8534 bytes, sha256 3fcc768af60124995cb48986ccce5df18c98a0b1d4a779471532c86ddcae4323)
- License: MIT

## Install

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

## React

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

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