My "Dependency-Free" Carousel 🎠 Component

yifanai

Yifan Ai

Posted on April 13, 2021

My "Dependency-Free" Carousel 🎠 Component

react-gallery-carousel controlled by mouse

Recently, I completed react-gallery-carousel, a "dependency-free" React carousel component with support for touch, mouse dragging, lazy loading, pinch to zoom, thumbnails, modal and keyboard navigation.

react-gallery-carousel controlled by touch

Demo: https://yifaneye.github.io/react-gallery-carousel/ (or https://yifanai.com/rgc) πŸ‘ˆ
GitHub: https://github.com/yifaneye/react-gallery-carousel

Lighthouse report on react-gallery-carousel's demo site
rgc3

react-gallery-carousel component not only supports:

  • Lazy loading
  • Thumbnails
  • Maximization (fullscreen)
  • Finger swiping and pinch zooming
  • Mouse dragging
  • Keyboard navigation
  • Accessibility
  • Instantaneous speed detection; but also supports customization with props. 😊

I handcrafted icons, wrote many useful custom hooks and wrote many exquisite functional components to complete this piece of work. πŸ‘¨πŸ»β€πŸ’»

Everyone is welcome to ask questions, find issues, make pull requests, make suggestions and give stars on GitHub! πŸ‘

Demo: https://yifaneye.github.io/react-gallery-carousel/ (or https://yifanai.com/rgc) πŸ‘ˆ
GitHub: https://github.com/yifaneye/react-gallery-carousel
npm: https://www.npmjs.com/package/react-gallery-carousel

πŸ’– πŸ’ͺ πŸ™… 🚩
yifanai
Yifan Ai

Posted on April 13, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related