React Three Lite
A lightweight React component library built on Three.js for seamless 3D web experiences.
pnpm install react-three-lite threeimport { Scene } from 'react-three-lite'
function App() {
return (
<Scene style={{ width: '100%', height: '400px' }} />
)
}Everything you need for 3D
Build stunning 3D web applications with minimal code
Automatic Initialization
Automatically initializes a 3D scene when the component is mounted, setting up the renderer, camera, lights, axes helper, and controls.
Model Loading and Caching
Supports caching models using IndexedDB to reduce repeated load times. The first load stores model data in a local database.
Enhanced Interactivity
Creates popups that can contain custom React components, supporting positioning and smooth movement in 3D space.
Animation Support
Built-in animation system for playing and controlling 3D model animations with support for multiple animation clips.
Custom Effects
Easily add visual effects like bloom, depth of field, and post-processing to enhance your 3D scenes.
TypeScript Ready
Full TypeScript support with comprehensive type definitions for all components and utilities.
Quick Start
Get started with React Three Lite in minutes!
Read the DocsContributors
Thanks to all our contributors!