A simple React app to search, filter, and browse user data with smooth incremental loading. This project demonstrates fetching JSON data, implementing search and "load more" functionality, skeleton loaders, and smooth scroll effects.
https://user-finder-react-vite.netlify.app/
- Search users by first name in real-time
- Incrementally load users (5 at a time) with smooth transitions
- Skeleton placeholders for initial fetch
- Remaining users count & “Load More” button
- Scroll automatically to newly loaded users
- Responsive design for desktop, tablet, and mobile
- Fully hosted-ready (works with Netlify)
- React (with hooks:
useState,useEffect,useTransition) - JavaScript (ES6+)
- CSS3 (Flexbox + Grid + Media Queries)
- Local JSON data for mock users
- Clone the repository
git clone <repository-url>
cd user-finder- Install dependencies
npm install- Run the app locally
npm startThe app will run at http://localhost:3000.
- Search Users: Type a first name in the search bar to filter results.
- Load More Users: Click “Load More” to incrementally load the next 5 users.
- Smooth Scroll: Newly loaded users will automatically scroll into view.
- Responsive: Works on desktop, tablet, and mobile devices.
user-finder/
│
├─ public/
│ └─ data/
│ └─ MOCK_DATA.json # Mock user data
│
├─ src/
│ ├─ assets/
│ │ └─ components/
│ │ ├─ SearchBar.jsx
│ │ ├─ UserList.jsx
│ │ └─ UserCard.jsx
│ │
│ ├─ index.css # Global styles
│ └─ App.jsx
│
├─ package.json
└─ README.md
Build the app:
npm run buildThis project is open-source and free to use for personal or educational purposes.