@happyphysicsclub/r3f-director
v0.1.3
Published
Reusable React Three Fiber (R3F) components and utilities for building 3D scenes.
Downloads
298
Readme
@happyphysicsclub/r3f-director
Reusable React Three Fiber (R3F) components and utilities for building 3D scenes.
- ✅ R3F-first components (camera rigs, helpers, scene primitives, etc.)
- ✅ TypeScript + ESM/CJS +
.d.ts - ✅ Works with Next.js / Vite (consumer side)
- ✅ Monorepo includes a Next.js demo app
Install (as a dependency)
npm
npm i @happyphysicsclub/r3f-directoryarn
yarn add @happyphysicsclub/r3f-directorpnpm
pnpm add @happyphysicsclub/r3f-directorPeer dependencies
This package expects the host app to provide these dependencies:
- react, react-dom
- three
- @react-three/fiber
If you use components that rely on them, you may also need:
- @react-three/drei
- postprocessing + @react-three/postprocessing
- three-stdlib
Tip: install peers in your app if you see warnings during install.
