Reference version

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

@shopify/react-native-skia

GitHub

npm

A React Native library for creating graphics using Skia.

Android
iOS
Web

@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, make sure to install expo in your project. Then, follow the installation instructions provided in the library's README or documentation.

Web

If you want to use Skia on web, you will need to follow web installation instructions to load CanvasKit.

Learn more

Visit official documentation

Get full information on API and its usage.