
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
react-native-scroll-view-parallax
Advanced tools
Parallax effects for React Native using Animated API
NOTE: This module requires React Native 0.8+
npm install --save react-native-scroll-view-parallax
Note: Parallax.Image elements must be direct descendants of Parallax.ScrollView
import Parallax from 'react-native-scroll-view-parallax'
export default class App extends Component {
render () {
return (
<Parallax.ScrollView style={styles.container}>
<Parallax.Image
style={styles.image}
overlayStyle={styles.overlay}
source={{ uri: 'http://loremflickr.com/640/480' }}
parallaxFactor={0.5}
>
<Text>This is optional overlay content</Text>
</Parallax.Image>
))}
</Parallax.ScrollView>
)
}
}
Parallax.ScrollView PropertiesAny ScrollView property and the following:
| Prop | Description | Default |
|---|---|---|
scrollViewComponent | What underlying component to compose around, must be ScrollView compatible. | ScrollView |
Parallax.Image PropertiesAny Image property and the following:
| Prop | Description | Default |
|---|---|---|
onPress | Fired when element is tapped. | None |
imageStyle | Optional image style, width and height styles are set automatically. | None |
overlayStyle | Optional overlay style, might be useful if you want a shaded background for better readability. | None |
parallaxFactor | The speed of the parallax effect. Larger values require taller images or they will be zoomed in. | 0.2 |

Check full example in the Example folder.
MIT License. © Joel Arvidsson
FAQs
Parallax effects for React Native using Animated API
We found that react-native-scroll-view-parallax demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.