# model-viewer

> One HTML tag from Google that shows a 3D model people can spin and zoom, and view in AR on phones.

Canonical page: https://sitepeel.dev/resources/model-viewer/

Website: https://modelviewer.dev/

Category: 3D. Access: Open source.

## What it is

You add a script tag, then a model-viewer tag pointing at a glTF or GLB file, and the page gets a 3D model with camera controls, lighting and optional AR. The site has a quick start, an editor to test your model and download a starter page, examples and the full API reference.

## Is it for you?

- Made for: Web developers and shop owners who want to show a 3D product without writing 3D code.
- You need: A 3D model in glTF or GLB format
- Price: Open source (Apache-2.0)

## What you can do with it

- 3D product views on a shop page
- Letting phone users place a product in their room with AR
- Showing 3D scans or museum pieces

Good to know: AR depends on the phone and browser; the site lists which features each browser supports.

## More like this

- [React Three Fiber](https://sitepeel.dev/resources/react-three-fiber/index.md): Write three.js 3D scenes as React components, with state and events working the way they do in React.
- [Poly Haven](https://sitepeel.dev/resources/poly-haven/index.md): Free HDRIs, photoscanned textures and 3D models under CC0, so you can use them for anything, no sign-up.
- [three.js](https://sitepeel.dev/resources/three-js/index.md): JavaScript library for 3D on the web, built on WebGL and WebGPU, with live examples, docs and a browser scene editor.

All resources: https://sitepeel.dev/resources/index.md. Checked on 2026-12-05.
