High-performance 2d Graphics for React Native using Skia
Checkout the full documentation here.
React Native Skia brings the Skia Graphics Library to React Native. Skia serves as the graphics engine for Google Chrome and Chrome OS, Android, Flutter, Mozilla Firefox and Firefox OS, and many other products.
For detailed information on library development, building, testing, and contributing guidelines, please see CONTRIBUTING.md.
Skia has two backends: Ganesh and Graphite. Ganesh is the default backend.
Graphite is available as an experimental preview in the @next distribution channel:
yarn add @shopify/react-native-skia@nextThis is highly experimental and not recommended for production use. Skia Graphite requires Android API Level 26 or above.
If you prefer to build Skia yourself with Graphite support, you can do so with SK_GRAPHITE=1 yarn build-skia.
React Native Skia automatically detects Graphite via a marker file included in the prebuilt libs.
