This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 51).
A React Native library for creating graphics using Skia.
This library is listed in the Expo SDK reference because it is included in Expo Go. You may use any library of your choice with development builds.
@shopify/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.
-
npx expo install @shopify/react-native-skia
If you are installing this in an existing React Native app (bare workflow), start by installing expo
in your project. Then, follow the additional instructions as mentioned by library's README under "Installation in bare React Native projects" section.
Additional setup required for web: If you want to use Skia on web, you will need to follow web installation instructions to load CanvasKit.
See @shopify/react-native-skia
documentation for usage instructions.