Quick Install
Terminal
npx expo install expo-audio react-native-reanimated react-native-worklets

Target Dependencies & Architecture

@shopify/react-native-skia@2.2.12expo-audio@~1.0.14react-native-reanimated@~4.1.0react-native-worklets@^0.5.1
Gestures & Physics

Orb Shader Animation with React Native Skia

react native reanimatedreact native skiaorbexpo-audiomicrophone

Interaction & Gesture Mechanics

The **Orb** component is a GPU-accelerated shader animation built with **React Native Skia**, designed to render smooth, dynamic glowing effects. It responds in real time to **Reanimated SharedValues**, enabling you to animate its appearance using gestures, timing functions, or live audio input. The `Orb` component renders a glowing sphere whose brightness and color are driven by the `intensity` shared value. Since `intensity` is a **Reanimated SharedValue**, it can be smoothly animated with transitions or linked to external input sources for real-time feedback. When `hueByIntensity` is enabled, the orb’s hue shifts dynamically based on the intensity level, creating a vibrant, reactive visual effect. As an example, you can pass `intensity` as a metering shared value obtained from the **Expo Audio** API’s microphone input. This setup allows the orb to react to your voice in real time — glowing and pulsing as you speak into the microphone. The optional `autoRotate` property introduces subtle rotation, enhancing the perception of depth and motion in the animation. #### Usage ```tsx <Orb hue={100} // Base hue (optional) width={200} // Orb width height={200} // Orb height intensity={intensity} // SharedValue<number> controlling brightness hueByIntensity // Adjusts hue based on intensity autoRotate // Enables slow, automatic rotation /> ``` #### Features * High-performance GPU rendering with **React Native Skia** * Real-time reactivity through **Reanimated SharedValues** * Seamless integration with live audio metering via **expo-audio** * Configurable hue, intensity, and rotation parameters * Ideal for visualizers, ambient UI effects, and interactive feedback The **Orb** component provides a flexible, performance-optimized foundation for creating immersive, sound-responsive animations in React Native applications.

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