This is a feature-rich Todo List application built using Next.js, TypeScript, and shadcn for modern and scalable UI. It allows users to add, edit, complete, and delete tasks while providing a smooth user experience with local storage support and dark mode compatibility.
- Add Tasks: Quickly add tasks via an intuitive input field or by pressing the "Enter" key.
- Edit Tasks: Update task details seamlessly with inline editing.
- Complete Tasks: Mark tasks as completed, with a visual indication through strikethrough text.
- Delete Tasks: Remove tasks effortlessly with the delete button.
- Local Storage Support: Tasks persist even after refreshing the page.
- Dark Mode: The UI adapts to system-level dark mode preferences for a pleasant experience.
- Responsive Design: Built to look great on both mobile and desktop devices.
- Next.js: A React-based framework for server-side rendering and static site generation.
- TypeScript: For a type-safe and robust development experience.
- shadcn: To build elegant and reusable UI components.
- Tailwind CSS: For responsive and utility-first CSS styling.
- Lucide Icons: For modern and intuitive icons like Add, Edit, Delete, and Check.
-
Clone this repository:
git clone https://github.com/Sheikh-Muhammad-Mujtaba/todo-list_app cd todo-list_app
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open the app in your browser at
http://localhost:3000
.
-
Adding a Task
- Type a task into the input field.
- Press the Add button or hit Enter to save the task.
-
Editing a Task
- Click the Edit button (pencil icon).
- Modify the task text and press the Check button or hit Enter to save changes.
- Press the Cancel button (X icon) to discard changes.
-
Completing a Task
- Click the Checkbox to mark a task as completed.
-
Deleting a Task
- Click the Trash button to delete the task.
- It's a modern web app showcasing the integration of Next.js and shadcn for dynamic, scalable applications.
- The use of Tailwind CSS ensures consistent and responsive UI across devices.
- It demonstrates essential features like CRUD operations and local storage management, making it a great learning resource for beginners.
Author: [Your Name]
GitHub: https://github.com/Sheikh-Muhammad-Mujtaba