This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Expo MeshGradient
A module that exposes MeshGradient view from SwiftUI to React Native.
Android
iOS
tvOS
Included in Expo Go
Recommended version:
~56.0.3
Installation
Terminal
If you are installing this in an existing React Native app, make sure to install expo in your project.
API
import { MeshGradientView } from 'expo-mesh-gradient'; function App() { return ( <MeshGradientView style={{ flex: 1 }} columns={3} rows={3} colors={['red', 'purple', 'indigo', 'orange', 'white', 'blue', 'yellow', 'green', 'cyan']} points={[ [0.0, 0.0], [0.5, 0.0], [1.0, 0.0], [0.0, 0.5], [0.5, 0.5], [1.0, 0.5], [0.0, 1.0], [0.5, 1.0], [1.0, 1.0], ]} /> ); }
No API data file found, sorry!