A simple React image gallery that fetches photos from the Picsum API with:
✅ Pagination
✅ Search by author name
✅ Lazy-loaded images
✅ Responsive grid layout
✅ Clean UI using Tailwind CSS
- Fetches images from Picsum API using Axios
- Search filter to find images by author
- Pagination with Next / Prev buttons
- Loading & error handling
- Fully responsive card layout
- React (Vite or CRA)
- Axios
- Tailwind CSS
- Picsum Photos API
git clone https://github.com/tanujgupta18/Image-gallery-react.git
cd Image-gallery-react
npm install
npm start # or npm run dev (if Vite)
Picsum Photos
https://picsum.photos/v2/list