Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Best 3D libraries

· updated

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.

9 picks

  1. three.js

    The standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders.

  2. React Three Fiber

    React renderer for three.js: build 3D scenes as JSX components with hooks.

  3. drei

    Ready-made helpers for React Three Fiber: controls, loaders, environments, text, shaders.

  4. A-Frame

    WebXR framework: VR, AR and 3D scenes written as HTML tags on top of three.js.

  5. Babylon.js

    A full web 3D and game engine: WebGL and WebGPU rendering, physics, GUI, XR and a scene inspector.

  6. PlayCanvas

    Open-source WebGL and WebGPU engine with a React wrapper, a hosted editor and first-class Gaussian splats.

  7. <model-viewer>

    Google's web component that shows a glTF model with orbit controls, lighting and phone AR in one tag.

  8. COBE

    A 5 KB WebGL dotted globe with markers, the spinning globe on many launch pages.

Compared

LibraryPricingOpen sourceBest forSite
three.jsFreeYes (MIT)a 3D product viewer or configurator outside Reactthreejs.orgAlternatives
React Three FiberFreeYes (MIT)interactive 3D hero objects in a React or Next.js landing pager3f.docs.pmnd.rsAlternatives
dreiFreeYes (MIT)orbit or presentation controls on a product modeldrei.docs.pmnd.rs–
Spline (react-spline)Free, from $12/seat/mo yearly, $15 monthly for moreYes (MIT (wrapper))a designer-made interactive 3D hero object with hover and click statesspline.designAlternatives
A-FrameFreeYes (MIT)a VR or AR scene that runs in a headset browser (Quest, Vision Pro) with controllers and hand trackingaframe.ioAlternatives
Babylon.jsFreeYes (Apache-2.0)a browser game with physics, collisions and inputbabylonjs.comAlternatives
PlayCanvasFree, Personal $15/mo, Organization $50/seat/mo for moreYes (MIT)a Gaussian splat scene (a captured room, place or product) on the webplaycanvas.comAlternatives
<model-viewer>FreeYes (Apache-2.0)a product page 3D viewer for one GLB model, drag to rotatemodelviewer.devAlternatives
COBEFreeYes (MIT)a spinning dotted globe with location markers in a hero or global-network sectioncobe.vercel.appAlternatives

Questions

What is the best 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 of these are completely free?

three.js, React Three Fiber, drei, A-Frame, Babylon.js, <model-viewer> and COBE. The rest are free to start with a paid tier.

Which work outside React?

three.js, React Three Fiber, Spline (react-spline), A-Frame, Babylon.js, PlayCanvas and 2 more 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.