Quick Install
Terminal
npx expo install react-native-reanimated

Target Dependencies & Architecture

react-native-reanimated@~4.1.0
Gestures & Physics

Fake Shared Element transition - Reanimated

react native reanimatedshared element transition

Interaction & Gesture Mechanics

The **SessionsModal** component provides a modal with interactive session items that expand on selection. It uses **React Native Reanimated** for smooth, animated transitions, with each session item scaling and adjusting its layout based on the active state. ### Key Components - **Item Component**: Renders each session item with scaling and layout animations. When selected, an item expands to take up more space, leveraging React Native Reanimated Layout animation to "fake" the Shared Element transition and create room for the active "Session" item. - **Modal Overlay**: A semi-transparent overlay that fades in and out with `FadeIn` and `FadeOut` animations, providing a backdrop for the modal. - **Session Selection and Indicator**: An indicator that prompts the user to start a session when an item is selected.

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 Gestures & Physics

View All Animations →
Switch XX
Free ComponentGestures & Physics

Switch XX

A custom animated switch component that mirrors the API of React Native’s built-in `Switch`, making it a true plug-and-play replacement. It’s written in TypeScript and leverages `react-native-reanimated` for smooth animations, along with `react-native-gesture-handler` to support a `LongPress` gesture. This component is fully customizable and supports the following props: * `onValueChange`: Callback triggered with the new `value` when the switch changes state * `value`: The current value of the switch (controlled mode) * `defaultValue`: The initial value of the switch (uncontrolled mode) * `size`: Controls the overall size of the switch * `disabled`: Disables the switch and prevents gesture interactions Ideal for replacing the native `Switch` with a more animated and interactive experience—no extra setup needed.

react native animationsreact native reanimatedmicro interaction
Reanimated 4
Preview & Code
2d scrollable grid - Reanimated2 + Gesture Handler
Free ComponentGestures & Physics

2d scrollable grid - Reanimated2 + Gesture Handler

2d scrollable grid - Reanimated2 + Gesture Handler

reanimated2custom grid animationreact native gestures
Reanimated 4
Preview & Code
Custom vertical scroll list - StarWars like casting - Reanimated2 + Gestures
Free ComponentGestures & Physics

Custom vertical scroll list - StarWars like casting - Reanimated2 + Gestures

Custom vertical scroll list - StarWars like casting - Reanimated2 + Gestures

react native animationsreanimated2react native reanimated2
Reanimated 4
Preview & Code