is there any library out there that can create such a carousel ? I have tried react-native-snap-carousel, but it doesn't have this feature.
I have also tried react-native-reanimated-carousel, but their documentation wasn't of great help. could you try pointing me in the right direction ?
If there's a way to write it out without a library with less bugs, it would be helpful, because i'm going to be rendering a lot of this component on the home screen.
the react-native-snap-carousel
<ScrollView style={{ backgroundColor: "#f2f2f2" }}>
{/* Pagination Carousel */}
<Carousel
ref={isCarousel}
onSnapToItem={(page) => setPage(page)}
data={entries}
renderItem={renderItem4}
sliderWidth={400}
itemWidth={250}
hasParallaxImages={true}
/>
<Pagination
activeDotIndex={page}
carouselRef={isCarousel}
tappableDots={true}
inactiveDotOpacity={0.4}
inactiveDotScale={0.6}
dotsLength={exploreSongs.length}
dotStyle={{
width: 10,
height: 10,
borderRadius: 100,
backgroundColor: "#F54800",
}}
inactiveDotStyle={{
backgroundColor: "grey",
}}
containerStyle={{
marginTop: -30,
}}
/>
<View style={{ marginTop: 100 }}></View>
</ScrollView>

With
react-native-reanimated-carouselthis should work correctly:UPDATE: This is a closer approach of what you are searching, depdending on your needs you'll have to adujst
widthandheightproperties.Result:
Carousel:
Item:
Check
parallaxexample on its repo to see a better implementation: https://github.com/dohooo/react-native-reanimated-carousel/blob/main/example/app/src/pages/parallax/index.tsx