Native rendering for serious UI, graphics, and GPU work
@nativescript/canvas
Bring web-style canvas APIs to NativeScript with native-backed rendering for 2d, webgl, webgl2, and webgpu.
iOS + AndroidSkia-backed renderingGPU-ready workflowsWeb API muscle memory
Start where your project is headed
InstallationGet the package into your app and ready to render.Quick StartDraw the first frame and wire up a canvas view.Web API SamplesSee browser-style examples adapted to NativeScript.Canvas 2D RecipesReach for common 2D patterns without digging through API docs first.WebGL RecipesMove from shaders and buffers to real scene rendering.WebGPU RecipesExplore newer GPU workflows and rendering experiments.Rendering ContextsCompare the capabilities and tradeoffs of each mode.API OverviewFind the core surface area quickly when you know what you need.Ecosystem PackagesSee how canvas connects with the broader NativeScript graphics stack.@nativescript/audio-contextPair visuals with a native-backed audio graph when your app needs sound too.