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

@react-three/start

v0.1.1

Published

A meta-framework for boilerplate-free React Three Fiber apps using file-based scene composition.

Readme

npx @react-three/start create my-app

What is it?

react-three-start is a meta-framework for @react-three/fiber.

In the same way SolidStart adds application conventions around Solid, and TanStack Start adds full-stack conventions around TanStack Router, react-three-start adds app-level conventions around R3F.

It gives R3F projects a default shell, a file-based scene graph, DOM overlay composition, ordered wrapper composition, a CLI, and a Vite integration. You write the parts that make your app unique: meshes, lights, cameras, physics, XR providers, controls, UI, and editor panels.

It is intentionally client-first. There is no routing system, server function layer, data loader, or deployment runtime. The framework boundary is the 3D app shell.

Why

React Three Fiber is great. The setup around it is repetitive.

Every app starts with the same wiring: Vite config, HTML shell, React root, Canvas, scene imports, DOM overlays, and provider nesting.

react-three-start removes that boilerplate. You add files; it builds the DOM and scene around them.

How it works

src/
  cube.scene.tsx    # renders inside Canvas
  lights.scene.tsx  # renders inside Canvas
  hud.dom.tsx       # renders in the DOM overlay

Scene files build the 3D layer. DOM files build the UI layer.

// src/cube.scene.tsx
export default function Cube() {
  return (
    <mesh>
      <boxGeometry />
      <meshStandardMaterial color="hotpink" />
    </mesh>
  )
}
react-three-start dev

No vite.config.ts, no index.html, no manual React entry, no scene registry.

Where it fits

| Tool | Good for | Relationship to R3F | | --- | --- | --- | | Plain Vite | Fast React apps | You still wire the HTML shell, React root, Canvas, and scene imports yourself | | Next.js | Routed React web apps | Great when the website is primary; heavier than needed for many client-first 3D apps | | SolidStart | Full-stack Solid apps | A useful reference point for what a framework layer can provide around a UI runtime | | TanStack Start | Full-stack React or Solid apps powered by TanStack Router | A useful reference point for file-based app conventions, routing, SSR, and server functions | | react-three-start | R3F apps, games, editors, configurators, XR experiments, and visual tools | The Canvas and scene are primary; the framework gives you R3F-specific structure instead of web-app routing |

Think of it as "Start" for React Three Fiber: smaller and more focused than a full web framework, but more opinionated than a bare Vite app.

Wrappers

Wrappers are scene files too. Import Scene where the lower scene should continue.

// src/00-xr.scene.tsx
import { Scene } from '@react-three/start'
import { XR, createXRStore } from '@react-three/xr'

const store = createXRStore()

export default function XRScene() {
  return (
    <XR store={store}>
      <Scene />
    </XR>
  )
}

Sorted filenames define nesting:

00-xr.scene.tsx
10-physics.scene.tsx
cube.scene.tsx

Manual Canvas

The default is a fullscreen Canvas. Own it when you need layout control.

// start.config.ts
export default {
  injectCanvas: false
}
// src/app.dom.tsx
import { Canvas } from '@react-three/fiber'
import { Scene } from '@react-three/start'

export default function App() {
  return (
    <Canvas>
      <Scene />
    </Canvas>
  )
}

Commands

react-three-start dev
react-three-start build
react-three-start preview

Alias:

r3s dev

License

MIT