meliorence / react-native-snap-carousel

Swiper/carousel component for React Native featuring previews, multiple layouts, parallax images, performant handling of huge numbers of items, and more. Compatible with Android & iOS.
BSD 3-Clause "New" or "Revised" License
10.32k stars 2.28k forks source link

[Question] How to acheive something similar to those designs #806

Open iMokhles opened 3 years ago

iMokhles commented 3 years ago

Hi thanks for this awesome package, i used it in one of my apps, and i'm ready to use it again but i couldn't found the key to acheive thise styles with

here's the styles i need

Style 1 Capture d’écran 2021-01-26 à 01 49 14

Style 2 Capture d’écran 2021-01-26 à 01 48 49

both styles make the selected item in the center each time i scroll or focus on an item it should be in the center,

can anyone guide me from where i should start or of course a simple example of how to acheive those styles with this package or using a native React-Native code.

thanks in advance.

dohooo commented 2 years ago

Sorry, please allow me to advertise for my open source library! ~ I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2