Founding price: $35, then $79.99 after 23:59 UTC on 4 November, then $79.99
Get ProAn interactive glTF model viewer with orbit controls, procedural studio lighting and a contact shadow, or a built-in shape.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
| Prop | Type | Default | Description |
|---|---|---|---|
src | string | - | URL of a glTF or GLB model. If it fails to load, primitive is shown. |
primitive | "torus-knot" | "icosahedron" | "box" | "sphere" | "torus" | "torus-knot" | Built-in shape shown when there is no src. |
color | string | theme | Colour of the built-in shape. Defaults to --primary. |
autoRotate | boolean | true | Turn the camera slowly around the model. |
autoRotateSpeed | number | 1.2 | Auto-rotate speed. |
zoom | boolean | false | Allow wheel and pinch zoom. Off so the page keeps scrolling. |
shadows | boolean | true | Soft contact shadow under the model. |
environment | "studio" | "sunset" | "night" | "studio" | Procedural lighting preset; it makes no network request. |
label | string | "Interactive 3D model" | Accessible description. |
onError | (error: unknown) => void | - | Called when src fails to load. |
fallback | ReactNode | gradient | Static frame shown while loading and when WebGL is unavailable. |
className | string | - | Classes for the outer element. |
Models are fitted to the view automatically. Draco-compressed models fetch their decoder from a CDN on first use.
prefers-reduced-motion: reduce it renders a single still frame.