Skip to content

Latest commit

Β 

History

History
90 lines (65 loc) Β· 1.69 KB

File metadata and controls

90 lines (65 loc) Β· 1.69 KB

πŸ” Password Generator

A modern, responsive Password Generator web application built using React and Material UI.
Users can generate strong, customizable passwords with real-time strength indication, copy & regenerate functionality, and dark mode support.


πŸš€ Live Demo

πŸ‘‰ (Add your Vercel link here after deployment)


✨ Features

  • βœ… Generate secure random passwords
  • 🎚 Adjustable password length (6–32)
  • β˜‘ Options to include:
    • Uppercase letters
    • Lowercase letters
    • Numbers
    • Symbols
  • πŸ“‹ Copy password to clipboard
  • πŸ”„ Regenerate password instantly
  • πŸ“Š Password strength indicator (Weak / Medium / Strong)
  • πŸŒ™ Dark mode toggle
  • πŸ”” Snackbar feedback on copy
  • πŸ“± Fully responsive UI

🧠 Password Strength Logic

Password strength is calculated based on the generated password itself, not user-selected options.

Strength factors:

  • Password length
  • Presence of:
    • Uppercase letters
    • Lowercase letters
    • Numbers
    • Symbols

This ensures accurate strength evaluation even if options change after generation.


πŸ›  Tech Stack

  • React (Vite)
  • Material UI (MUI)
  • JavaScript (ES6+)
  • Clipboard API

πŸ“‚ Project Structure

password-generator/ β”‚ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ App.jsx β”‚ β”œβ”€β”€ main.jsx β”‚ β”œβ”€β”€ index.css β”‚ β”œβ”€β”€ public/ β”œβ”€β”€ package.json └── README.md

βš™οΈ Installation & Setup

1️⃣ Clone the repository

git clone https://github.com/your-username/password-generator.git

//
2️⃣ Navigate to project folder

cd password-generator

//
3️⃣ Install dependencies

npm install

//
4️⃣ Run the app

npm run dev
App runs at:
http://localhost:5173/