Skip to content

Install three-flatland in your project.

Terminal window
npm install three-flatland three koota

React is not required. If you’re using React Three Fiber, add the additional dependencies:

Terminal window
npm install three-flatland @react-three/fiber@alpha
  • Three.js: >= 0.183.1 (required for TSL/WebGPU support)
  • koota: >= 0.6.5 (ECS for batch rendering)
  • React: >= 19.2.0 (for three-flatland/react)
  • @react-three/fiber: >= 10.0.0-alpha.2 (for three-flatland/react)
  • Node.js: >= 22 (LTS)

three-flatland is written in TypeScript and ships with full type definitions. No additional @types packages are required.

See the LLMs page for more prompts and machine-readable documentation.