# React XR template

> A small working scene for VR and AR: things to pick up and throw, buttons, readable text, physics and sound. The starting point for anything.

Source: https://graspable.dev/templates/react-xr

Plan: Every plan, including Explorer (free). See https://graspable.dev/pricing.md.

## What you start with

React Three Fiber + @react-three/xr, in a Vite project. It is ordinary code in a folder on your computer: read it, edit it, keep it.

## Where it runs

Any WebXR browser, such as Meta Quest and Apple Vision Pro, and a flat screen with mouse or touch. The app has an emulated headset to try it before you put one on.

## Requests to try

- Turn the bench into a marble run: ramps and funnels I can move, and a ball that rolls through them.
- Add a second basket that is further away and worth three points, and show the score on the board.
- Replace the shapes with building blocks in five colours that I can stack into a tower.
- Make it a small shop counter: three products on the bench, and a label that names the one I pick up.

## How a run ends

The agent edits the project on your computer. A run ends only when it builds and loads in a real browser.

## Examples

- [A tape measure in a real room](https://graspable.dev/a/ifz7klc6): Point at any surface, pull the trigger, and read the distance on a steel tape.
- [A solar system you can pick up](https://graspable.dev/a/o2o4kb1i): Planets circle the Sun on brass rings in a planetarium; grab one and its lesson card opens beside it.

## Start a project

Get Graspable at https://graspable.dev/download. Choose React XR when creating a project. For an existing agent, see https://graspable.dev/docs/use-with-ai-agents.md.
