Skip to content

Arsh-pixel-cmd/Stopwatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏱️ React Stopwatch

A modern and stylish Stopwatch app built with React + Vite.
It features start, stop, reset, and dark/light theme toggle, with a sleek glassmorphism-inspired UI that works seamlessly across devices.


🚀 Features

  • Start, Stop, and Reset stopwatch functionality
  • Dark/Light theme toggle 🌙☀️
  • Millisecond precision with smooth updates
  • Responsive design for desktop, tablet, and mobile
  • Glassmorphism UI with gradients, blur, and shadows
  • Built using React + Vite

📸 Screenshots

Light Mode Dark Mode
[Light Mode]Screenshot 2025-09-05 at 12 27 50 AM [Dark Mode] Screenshot 2025-09-05 at 12 28 23 AM

🛠️ Installation & Setup

Clone the repository:

git clone https://github.com/Arsh-pixel-cmd/Stopwatch.git
cd Stopwatch

📦 Install dependencies

npm install

🛠️ Run the Project

Start the development server:

npm run dev

🌐 Open in your browser

http://localhost:5173

📂 Project Structure

STOP-WATCH ├── src/ # Source code │ ├── App.jsx # Root component │ ├── StopWatch.jsx # Stopwatch logic & UI │ ├── index.css # Styling (themes + glassmorphism + responsive) │ ├── main.jsx # Entry point ├── .gitignore # Git ignore file ├── eslint.config.js # ESLint configuration ├── index.html # Main HTML file ├── package-lock.json # Dependency lock file ├── package.json # Project configuration & scripts ├── README.md # Documentation ├── vite.config.js # Vite configuration


🔮 Future Improvements

  • Add Lap functionality
  • Allow custom themes (neon, minimal, gradient)
  • Save stopwatch state in local storage
  • Add sound/vibration feedback
  • Include digital + analog clock combo

📘 What You Will Learn

By exploring this project, you will learn how to:

  • Build a stopwatch in React with start/stop/reset logic
  • Use React hooks (useState, useEffect, useRef) for state and side effects
  • Format JavaScript Date objects for time display
  • Apply glassmorphism + responsive design with modern CSS
  • Structure a React + Vite project for fast development

🤝 Contributing

  1. Fork the project
  2. Create a feature branch (git checkout -b feature/newFeature)
  3. Commit changes (git commit -m "Added new feature")
  4. Push & Open a PR

📜 License

Licensed under the MIT License — feel free to use & modify.


🌐 Connect with Me

💼 LinkedIn
💻 GitHub

About

A modern React Stopwatch app with start, stop, reset, dark/light mode toggle, and a glassmorphism-inspired responsive UI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors