Quick Install
Terminal
npx expo install expo-blur expo-constants expo-linear-gradient expo-status-bar lucide-react-native react-native-reanimated

Target Dependencies & Architecture

@tanstack/react-query@^5.59.20expo-blur@~15.0.7expo-constants@~18.0.9expo-linear-gradient@~15.0.7expo-status-bar@~3.0.8lucide-react-native@^0.456.0react-native-reanimated@~4.1.0
Carousels & Sliders

Expandable carousel

react native animationsreact native reanimatedreact native carouselprogressive blurreact native flatlist

Interaction & Gesture Mechanics

An animated horizontal carousel that supports expandable content on vertical scroll. When a slide is expanded, it stretches to fill the entire screen, creating an immersive full-screen view. During this state, horizontal swiping is disabled to prevent accidental navigation, and a progressive blurred header appears at the top—achieved using `MaskedView` combined with a `LinearGradient`, and designed to work seamlessly on both iOS and Android. You can fetch data either with `react-query` for more robust caching and management, or simply use `useState` with `useEffect` for a lighter setup. The current implementation fetches content from the [DummyJSON](https://dummyjson.com) API, making it easy to plug in real-world or mock data. All animations are powered by `react-native-reanimated`. It uses `useAnimatedProps` to toggle horizontal scrolling dynamically and `useAnimatedScrollHandler` within each slide to handle vertical interactions. The vertical scroll position is interpolated to animate elements like the blurred header and content transitions, ensuring smooth and responsive UX.

Import directly via AI Coding Agents

Use RafayLabs Animation MCP to search, adapt, and insert this animation into your screens automatically in Cursor, Claude Code, or VS Code.

Connect Animation MCP

Related UI Motion Components

More animations in Carousels & Sliders

View All Animations →
Circular slider
Free ComponentCarousels & Sliders

Circular slider

This example showcases a circular slider built with React Native Reanimated. As users scroll through the items, the background dynamically updates to reflect the currently active image, creating a smooth and engaging visual transition. The animation is driven by a `scrollX` value, which is clamped between `0` and the total number of items using Reanimated’s interpolation utilities. This ensures that the animation doesn’t overshoot the bounds of the slider. By clamping the value, we maintain consistent behavior even during fast or over-scrolling gestures. To keep track of the active item, `runOnJS` is used to trigger a JavaScript function that updates the `activeIndex`. This allows the UI to remain in sync with the animation state, enabling you to trigger side effects or update the app state based on the currently visible item.

react native reanimatedreact native carouselcircular carousel
Reanimated 4
Preview & Code
Masked Pagination
Free ComponentCarousels & Sliders

Masked Pagination

A reusable and animated pagination component for React Native, perfect for carousels, onboarding flows, or step indicators. This component leverages `moti` for smooth animations and `MaskedView` to elegantly reveal the active indicator beneath the dots. Built with TypeScript, it offers a flexible and well-typed API: * `dots`: Total number of dots * `activeIndex`: Index of the currently active dot * `colors`: Customize the indicator and dot container colors * `dotSize`: Size of each dot and the indicator * `spacing`: Space between dots * `duration`: Duration of the animation transition

react native paginationreact native masked viewmasked pagination
Reanimated 4
Preview & Code
Vertical carousel animation - Reanimated
Free ComponentCarousels & Sliders

Vertical carousel animation - Reanimated

The Vertical carousel animation component leverages React Native Reanimated to create a scrollable list where items scale, fade, and slide into view based on their position. Components - Item Component: Each carousel item animates using `interpolate` to adjust opacity and scale based on scroll position. `FadeInDown` is applied for entry, adding a smooth drop effect. - Title Component: Item titles animate with `translateY` and `scale` as they enter the viewport, creating a parallax-style effect. - PaginationIndicator: Right-side indicators reflect the current scroll position, dynamically adjusting opacity and scale.

react native reanimatedreact native carouselvertical carousel
Reanimated 4
Preview & Code