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. Graphite is available as an experimental preview in the @next distribution channel:

yarn add @shopify/react-native-skia@next

This is highly experimental and not recommended for production use. Skia Graphite requires Android API Level 26 or above.

If you prefer to build Skia yourself with Graphite support, you can do so with SK_GRAPHITE=1 yarn build-skia. React Native Skia automatically detects Graphite via a marker file included in the prebuilt libs.

About

High-performance React Native Graphics using Skia

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors