Back to gallery
wcandillon/react-native-skia on GitHub — High-performance React Native Graphics using Skia
wcandillon
Built bywcandillon/

react-native-skia

High-performance React Native Graphics using Skia

Stars
8.8k
Forks
682
Watchers
8.8k
Open issues
108
TypeScriptMIT main Updated just now~5 stars/day lifetime
Editor's take

High-performance 2D graphics for React Native using Google's Skia engine. Powers modern RN animations, custom drawing, shaders. ~8k stars. Used by Shopify's own apps.

Use this if

You need custom graphics, charts, or complex animations in a React Native app.

Skip if

You only need basic UI animations — Reanimated handles those.

MobileAnimation & Motion
Topics
reactreact-nativeskia
Quick install
# Install via npm / pnpm / bun:
pnpm add react-native-skia
# or
npm install react-native-skia

Inferred from TypeScript · always double-check against the official README below.

README — rendered from wcandillon/react-native-skia

React Native Skia

CI npm version

React Native Skia Logo

React Native Skia bring Skia, the rendering engine behind Google Chrome to React Native to React Native.

We use Graphite, Skia’s new GPU backend built on WebGPU (Dawn). It plugs directly into React Native WebGPU, so 2D drawings, 3D scenes, and machine learning models share the same GPU device and the same canvas, at zero cost. The result is a unified GPU runtime for React Native. See Documentation.

React Native Skia has been downloaded more than 60 millions times on NPM. And today, it powers the user-experiences of some of the top apps on the App Store and Google Play, including several that have won awards from Apple, Google, and Expo.

Platinum Sponsors

Getting Started

yarn add react-native-skia

Installation instructions

v3 and v2

React Native Skia v3 renders with Graphite, Skia's new GPU backend. It runs on Metal on Apple platforms and on Vulkan on Android.

v3 v2
npm react-native-skia react-native-skia@2
Skia backend Graphite (Vulkan/Metal) Ganesh (OpenGL/Metal)
Architecture multi-threaded single-threaded
Platforms iOS, Android, macOS, Mac Catalyst, tvOS, Web iOS, Android, macOS, Mac Catalyst, tvOS, Android TV, Web
Branch main 2.x
Documentation wcandillon.github.io/react-native-skia wcandillon.github.io/react-native-skia/v2

v2 is still maintained. To upgrade from v2 or from @shopify/react-native-skia, follow the migration guide.

WebGPU

Graphite runs on Dawn, Google's WebGPU implementation. With React Native WebGPU installed alongside it, Skia and WebGPU share the same GPU device and can exchange textures without any copy. This also works with three.js. See the WebGPU documentation.

Contributing

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

Live data via GitHub REST API · Cached 30 min · Created 08 Nov 2021