React Native Parallax Layers for Expo

Drag across a layered scene: near layers slide further while it tilts in 3D.

ProiOS · Android · Expo Go
9:41

Props

PropTypeDefault
children

Layers, back to front.

ParallaxLayer[]—
height

Scene height.

number260
travel

How far a depth-1 layer moves, in points.

number22
tilt

Scene tilt in degrees; 0 for flat parallax.

number8
idle

Drift on its own while untouched.

booleantrue
clip

Clip layers to the scene's rounded box.

booleantrue
accessibilityLabel

Describes the scene for screen readers.

string—
radius

Corner radius of the scene.

number24
style

Style for the scene.

StyleProp<ViewStyle>—
className

Tailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.

string—
ParallaxLayer.depth

0 stays put, 1 moves the full travel, negative moves the other way.

number0.5
ParallaxLayer.scale

Extra scale; far layers (depth ≤ 0.35) grow just enough to hide their edges.

numberfar layers grow slightly
ParallaxLayer.style

Style for the layer (it fills the scene).

StyleProp<ViewStyle>—

Customization

You own the source file — tune appearance with props (no fork required for most tweaks). For brand-wide colours and radius, wrap your app in KitProvider; for one-off looks, use the style props below.

Design theme

Open Design theme on the live preview — accent, corner radius and font update every variant instantly (same as KitProvider in your app).

Variants

Use the variant chips on the preview to switch examples; each maps to a demo you can copy from the Code tab.

Style props

React Native style and typed slots like fieldStyle, plus optional root className when you use NativeWind or Uniwind (cnProps from kit).

style
StyleProp<ViewStyle>Style for the scene.
className
stringTailwind classes on the root when using NativeWind or Uniwind. Prefer style for StyleSheet overrides.
ParallaxLayer.style
StyleProp<ViewStyle>Style for the layer (it fills the scene).

Map tokens from your design system on Bring your design system or read Theming for KitProvider and NativeWind / Uniwind setup.

Behaviour & accessibility

Touch
The finger position steers the scene and release springs it back to centre. A parent ScrollView can still take over a scroll that starts on it.
Motion
Each layer moves by its depth times travel while the whole scene tilts in perspective. Left alone, it drifts slowly on a loop.
Screen readers
With accessibilityLabel the scene is one image element with that label; without it, it is not exposed.
Platforms
Transforms run on the native driver with PanResponder, so it works on iOS, Android and web with no native modules.

Source

FAQ

How do I make a parallax effect in React Native?
Use ExpoKit's Parallax Layers, a Pro component: with ExpoKit Pro, the ExpoKit CLI copies a ready-made parallax effect into your Expo or React Native app as plain TypeScript you can edit. It works on iOS, Android and web, and in Expo Go.
Does Parallax Layers work in Expo Go?
Yes. Parallax Layers runs in Expo Go on iOS and Android with no development build.
How do I add Parallax Layers to my Expo app?
With ExpoKit Pro, add it with the ExpoKit CLI: it copies the component's source into your app, so the code is yours to change. The install command is on this page for Pro members.
Is Parallax Layers free?
Parallax Layers is part of ExpoKit Pro. With a Pro plan, log the CLI in once (npx @expokit/cli@latest login) and it installs the full source into your app.