Best free 3D libraries
Written from the tastebase registry, so it changes when an entry does.
These are the 3D libraries we would reach for, in that order. Each one is in tastebase because it does one job well; the table says which job.
three.js leads: the standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders. If it doesn't fit, React Three Fiber is the next pick: react renderer for three.js: build 3D scenes as JSX components with hooks.
7 picks

three.js
The standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders.
React Three Fiber
React renderer for three.js: build 3D scenes as JSX components with hooks.
drei
Ready-made helpers for React Three Fiber: controls, loaders, environments, text, shaders.
A-Frame
WebXR framework: VR, AR and 3D scenes written as HTML tags on top of three.js.
Babylon.js
A full web 3D and game engine: WebGL and WebGPU rendering, physics, GUI, XR and a scene inspector.
<model-viewer>
Google's web component that shows a glTF model with orbit controls, lighting and phone AR in one tag.
COBE
A 5 KB WebGL dotted globe with markers, the spinning globe on many launch pages.
Compared
Questions
What is the best free 3D library?
three.js: the standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders. Reach for it for a 3D product viewer or configurator outside React.
Which work outside React?
three.js, React Three Fiber, A-Frame, Babylon.js, <model-viewer> and COBE also ship for plain JavaScript, Vue, Svelte and Solid. The rest are React only.
Which are the lightest?
COBE add the least to your bundle.