<model-viewer>
freeGoogle's web component that shows a glTF model with orbit controls, lighting and phone AR in one tag.

Try these
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.
Spline (react-spline)
Embed 3D scenes designed in the Spline editor as a React component.
EvilCharts
Animated shadcn chart components, each on Recharts (SVG) or Apache ECharts (canvas) behind the same API.
Looks that pick it
For your agent
Install
npm i @google/model-viewer three@0.183Use it for
- a product page 3D viewer for one GLB model, drag to rotate
- 'view in your room' AR on phones (Scene Viewer on Android, Quick Look on iOS)
- hotspots that label parts of a model
- 3D previews in a CMS or shop page with no scene code
Skip it when
- a custom scene with several objects, shaders or game logic: use r3f or three
- a designer-built interactive scene: use spline
- a VR headset experience: use aframe
What's inside7 free
- <model-viewer>
- <model-viewer-effects>
- AR (WebXR, Scene Viewer, Quick Look)
- Hotspots
- Animations
- Camera controls
- Editor
Facts
- Frameworks
- vanilla, react, vue, svelte, solid, angular
- Styling
- css
- Weight
- large
- Accessibility
- ok
- Maturity
- established
- License
- Apache-2.0
- Price
- Free
Alternatives
import '@google/model-viewer' <model-viewer src="/models/chair.glb" ios-src="/models/chair.usdz" poster="/models/chair.webp" alt="Oak dining chair" camera-controls touch-action="pan-y" ar ar-modes="webxr scene-viewer quick-look" shadow-intensity="1" loading="lazy" ></model-viewer>
https://modelviewer.dev/examples/loading/index.html
Loading website