This is documentation for the next SDK version. For up-to-date documentation, see the latest version (SDK 52).

A React Native library for creating graphics using Skia.

Android
iOS
Web

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.

Installation

Terminal
npx expo install @shopify/react-native-skia

If you are installing this in an existing React Native app, start by installing expo in your project. Then, follow the additional instructions provided by the library's README or documentation.

Additional setup required for web: If you want to use Skia on web, you will need to follow web installation instructions to load CanvasKit.

Usage

See @shopify/react-native-skia documentation for usage instructions.