react-modern-password-generator

1.0.3 • Public • Published

🔐 React Modern Password Generator

A sleek, customizable React password generator with real-time strength indicators and modern UI.

npm version downloads license

🚀 Live Demo | 📦 NPM Package

Password Generator Demo

✨ Features

  • 🔄 Real-time password generation
  • 📏 Adjustable length (6-32 characters)
  • 🎯 Multiple character sets (a-z, A-Z, 0-9, @#$)
  • 💪 Password strength indicator
  • 📋 One-click copy to clipboard
  • 🎨 Modern, responsive UI
  • 🌓 Light/Dark theme support

🚀 Quick Start

// Installation
npm install react-modern-password-generator

// Usage
import PasswordGenerator from 'react-modern-password-generator';

function App() {
 return <PasswordGenerator theme="light" defaultLength={12} />;
}

// Available Props
| Prop | Type | Default | Description |
|------|------|---------|-------------|
| minLength | number | 6 | Minimum password length |
| maxLength | number | 32 | Maximum password length |
| defaultLength | number | 12 | Initial password length |
| theme | string | 'light' | UI theme ('light'/'dark') |

// Dependencies
- React >=16.8.0
- TailwindCSS >=3.0.0 
- Lucide React >=0.0.1

// Development
npm install
npm run build

// Contributing
Contributions are welcome! Please feel free to submit a Pull Request.

// License
MIT © [Sabbir Ahmed]

Package Sidebar

Install

npm i react-modern-password-generator

Weekly Downloads

2

Version

1.0.3

License

none

Unpacked Size

15.8 kB

Total Files

7

Last publish

Collaborators

  • sabbirshaawon