Skip to content

Shopify/react-native-skia

Repository files navigation

React Native Skia

High-performance 2d Graphics for React Native using Skia

CI npm version issues

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.

Getting Started

Installation instructions

Contributing

For detailed information on library development, building, testing, and contributing guidelines, please see CONTRIBUTING.md.

Graphite

Skia has two backends: Ganesh and Graphite. Ganesh is the default backend. If you want to experiment with Graphite, you can enable it by building Skia with SK_GRAPHITE=1 yarn build-skia.
Skia Graphite requires Android API Level 26 or above.

React Native Skia automatically detects if the Dawn WebGPU implementation library files are available. If they are present, it will automatically assume that Graphite is enabled.