Skip to content

sookmax/react-image-gallery

Repository files navigation

React Image Gallery Example

Live at https://react-image-gallery-sook.vercel.app/

Introduction

This website features a list of images and an image viewer that pops up when one of the images in the list is clicked.

Image List

Image List Screenshot

Image Viewer

Image Viewer Screenshot

Features

  • Virtualized list and infinite scrolling
  • Responsive design for the image list
    • from a single column up to three columns depending on the screen size
  • Low-quality image preview while the main image is loading.
  • Skeleton animation while the image is loading.
  • Scale-down animation when the image is loaded.
  • Image optimization with srcset and sizes.
  • Slide-in and slide-out animations in the image viewer.
  • Maximum space allocation for the main image in the viewer depending on its aspect ratio.
  • keyboard navigation support (arrow-left, arrow-right)
  • drag navigation support (swipe-left, swipe-right)
  • toggle on/off heads-up display in the image viewer
    • arrow-up, arrow-down
    • on click

Built with

Releases

No releases published

Packages

No packages published

Languages