Knit UI
GitHub

Playground

Loading playground…

Playground
<GraphicsProvider />

Examples

Usage

Loading example…

UsageSourceStorybook

Props

PropTypeDefaultDescription
childrenReactNode
fallbackReactNodeRendered on web while the CanvasKit WASM runtime is loading. Defaults to `null`. Ignored on native, where the runtime is ready synchronously.
locateFile((file: string) => string) | undefinedOverride how CanvasKit WASM asset URLs are resolved on web. By default the wasm is loaded from the jsDelivr CDN, matching the installed `@shopify/react-native-skia` `canvaskit-wasm` version. Ignored on native.