Skip to content
Advertisement

How to do this calendar circular swipe scroll with 3 texts

Here is my model.

enter image description here

I would like this animation :

  • When I swipe left, the month March takes the central place, and April replaces March in the right
  • When I swipe right, the month January takes central place, and December replaces January in the left

I literally don’t know where to begin, or how to achieve this.

For the code used in the image, here it is :

JavaScript

Advertisement

Answer

Maybe a good start would be use ‘react-view-slider’ or ‘ScrollView’ and do something like this :

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement