Skip to content

YashGadle/ReactAwesomeCarousel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Awesome Carousel (WIP: Not complete yet. would love if anyone could help!)

A carousel to use for a gallery usecase.

Preview

Tools used

  1. Used IntersectionObserver API.
  2. Used a separate image component for changing layout from 'portrait' to 'landscape'

Note

This is a very basic component for now. Will improve it and also add some test cases.

TODOs,

  1. Add buttons to let user scroll (Currently gesture scroll is enabled).
  2. Make the component more generic to take props from outside components.
  3. If possible make the transition go proportional to the amount of intersection of the visible image. So the image gradually scales to its maximum value once it is fully visible.

Usage

yarn
yarn start

About

A big gallery carousel for showcasing images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published