This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo LinearGradient
A universal React component that renders a gradient view.
Android
iOS
tvOS
Web
Included in Expo Go
Recommended version:
~15.0.8
expo-linear-gradient provides a native React view that transitions between multiple colors in a linear direction.
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
Usage
Linear Gradient
API
import { LinearGradient } from 'expo-linear-gradient';
No API data file found, sorry!