# React Three Fiber Starter Use this as the smallest canonical starting point for a React-hosted 3D scene. ## Files ```text src/ App.tsx ``` ## `src/App.tsx` ```tsx import { Canvas } from "@react-three/fiber"; function Spinner() { return ( ); } export default function App() { return (
Reach the lantern bridge.
WASD to move. Hold mouse to look.
); } ``` ## Notes - Start here when the 3D scene lives inside an existing React app. - Keep the initial HUD sparse. One compact objective surface and one transient hint is usually enough for a first playable scaffold. - Put lore, notes, map, and settings behind drawers or modals instead of opening them all by default. - Add GLB loading with `gltf-loading-starter.md`. - Add physics with `rapier-integration-starter.md`. - Use `three-hud-layout-patterns.md` for low-chrome 3D overlay defaults.