A sleek, customizable React password generator with real-time strength indicators and modern UI.
- 🔄 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
// 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]