A small, lightweight notes application built with React and Vite. It provides a simple UI to add, drag, and delete sticky-style notes. Notes are persisted to the browser's localStorage so they survive page reloads.
- Create notes with a heading and details
- Drag notes around the notes area
- Delete notes with a quick click
- Notes persist in
localStorage - Built with Vite for fast dev server and build times
- React (v19)
- Vite
- Tailwind CSS
- lucide-react (icons)
- react-draggable (dragging behavior)
- Node.js (recommended >= 18)
- npm, yarn or pnpm as a package manager
Clone the repository and install dependencies:
git clone https://github.com/CodeX047/Notes-App.git
cd Notes-App
# using npm
npm install
Start the Vite development server and open the app in your browser:
# npm
npm run devThe dev server usually runs at http://localhost:5173 — Vite will print the exact address after you run the command.
- Open the app in your browser.
- Fill in the "Note Heading" and "Enter Details" fields.
- Click "Add Note" to create the note — it appears in the Recent Notes area.
- Drag notes around the notes area to reposition them.
- Click the small red X in the top-right of a note to delete it.