npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sceneview-sdk/react-native

v4.3.0

Published

React Native bindings for SceneView — 3D and AR scenes powered by Filament (Android) and RealityKit (iOS)

Readme

@sceneview-sdk/react-native

npm version License: Apache 2.0 GitHub

React Native bindings for SceneView — 3D and AR scenes powered by Filament (Android) and RealityKit (iOS).

Status: Alpha — 3D model loading works on both platforms. AR scene is functional on Android.

Features

  • Load and display 3D models (GLB/GLTF) using native renderers
  • AR scenes with plane detection — ARCore (Android) and ARKit (iOS)
  • HDR environment lighting
  • Orbit camera controls
  • TypeScript types for all props and events
  • Fallback message on unsupported platforms (web, etc.)

Installation

Status note (May 2026): the npm registry currently has @sceneview-sdk/[email protected] as latest. The 4.0.x line of this bridge — including the type-safe unlit prop and the v4 SceneView bindings — has not yet been published to npm. Tracked in #924 and #962 (publish-rn GitHub Actions job lands automatically on the next v4.0.x tag). To pin against the latest source today, prefer the GitHub-package snippet at the bottom of this section.

npm install @sceneview-sdk/react-native

…or to ride main directly until the 4.0.x publish lands:

npm install github:sceneview/sceneview#v4.0.9 --save  # path includes react-native/react-native-sceneview/

iOS

cd ios && pod install

Requires iOS 17+ and Xcode 15+. The host app must also add SceneViewSwift via Swift Package Manager:

  • URL: https://github.com/sceneview/SceneViewSwift
  • Version: 4.0.0

Android

Requires minSdk 24. SceneView is published to Maven Central — no extra repository needed:

// android/app/build.gradle
android {
    defaultConfig {
        minSdkVersion 24
    }
}

Usage

3D Scene

import { SceneView } from '@sceneview-sdk/react-native';

<SceneView
  style={{ flex: 1 }}
  environment="environments/studio_small.hdr"
  modelNodes={[{ src: 'models/damaged_helmet.glb', position: [0, 0, -2] }]}
  cameraOrbit
/>

AR Scene

import { ARSceneView } from '@sceneview-sdk/react-native';

<ARSceneView
  style={{ flex: 1 }}
  planeDetection
  modelNodes={[{ src: 'models/chair.glb', position: [0, 0, -1] }]}
/>

Props — SceneView

| Prop | Type | Default | Description | |------------------|-----------------|---------|------------------------------------------| | style | ViewStyle | — | Standard React Native style | | environment | string | — | HDR environment asset path | | modelNodes | ModelNode[] | [] | Models to render | | geometryNodes | GeometryNode[]| [] | Geometry nodes (forward-compatible) | | lightNodes | LightNode[] | [] | Light nodes (forward-compatible) | | cameraOrbit | boolean | true | Enable orbit camera controls | | onTap | function | — | Tap callback (event pending) |

Props — ARSceneView (extends SceneView)

| Prop | Type | Default | Description | |---------------------|------------|---------|-------------------------------------------| | planeDetection | boolean | true | Enable plane detection | | depthOcclusion | boolean | false | Enable depth occlusion (Depth API/LiDAR) | | instantPlacement | boolean | false | Enable instant placement | | onPlaneDetected | function | — | Callback when a new plane is detected |

ModelNode interface

interface ModelNode {
  src: string;                             // Asset path or URL to GLB/GLTF
  position?: [number, number, number];     // World-space [x, y, z]
  rotation?: [number, number, number];     // Euler degrees [x, y, z]
  scale?: number | [number, number, number]; // Uniform or per-axis scale
  animation?: string;                      // Animation name to auto-play
}

Architecture

React Native JS
    |
    v
requireNativeComponent('RNSceneView' / 'RNARSceneView')
    |
    +---> Android: ViewManager -> ComposeView -> SceneView { } / ARSceneView { }
    |                              (Filament, SceneView SDK 4.0.0)
    |
    +---> iOS: RCTViewManager -> UIHostingController -> SceneView / ARSceneView
                                  (RealityKit, SceneViewSwift 4.0.0)

Props are mapped from the React Native bridge to native view parameters on each platform.

Limitations

  • Geometry and light node props are defined in types but not yet rendered natively
  • onTap and onPlaneDetected event callbacks are declared but events are not yet dispatched
  • Scale prop on ModelNode is parsed as a uniform float (per-axis array not yet supported)
  • Only Android and iOS are supported; other platforms render a fallback message

Contributing

See CONTRIBUTING.md.

License

Apache-2.0 — see LICENSE for details.