---
title: "A step into the spatial web: The HTML model element in Apple Vision Pro"
description: "visionOS 26 enables the HTML `model` element by default in Safari on Apple Vision Pro, rendering USDZ 3D assets stereoscopically inline within web pages."
url: "https://swe.quest/articles/a-step-into-the-spatial-web-the-html-model-element-in-apple-vision-pro-20ba85e34f088d57"
canonical: "https://webkit.org/blog/17118/a-step-into-the-spatial-web-the-html-model-element-in-apple-vision-pro/"
source: "WebKit"
published: "2025-06-27"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 7
tags: ["browsers","frontend"]
---

# A step into the spatial web: The HTML model element in Apple Vision Pro

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2025-06-27, 7 min read, Announcement. Original: [https://webkit.org/blog/17118/a-step-into-the-spatial-web-the-html-model-element-in-apple-vision-pro/](https://webkit.org/blog/17118/a-step-into-the-spatial-web-the-html-model-element-in-apple-vision-pro/)

## Summary

visionOS 26 enables the HTML \`model\` element by default in Safari on Apple Vision Pro, rendering USDZ 3D assets stereoscopically inline within web pages. The API exposes a \`ready\` Promise for load completion and a \`stagemode="orbit"\` attribute for built-in pinch-and-drag rotation. It also offers an \`entityTransform\` property that takes a \`DOMMatrix\` for custom translate/rotate/scale, plus \`boundingBoxCenter\`/\`boundingBoxExtents\` for fitting content. Lighting is controlled via an \`environmentmap\` attribute pointing to equirectangular HDR/EXR images with an \`environmentMapReady\` Promise, and animations use a media-like API (\`play()\`, \`pause()\`, \`currentTime\`, \`playbackRate\`, \`autoplay\`, \`loop\`).

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Frontend](https://swe.quest/tags/frontend.md) (Web & mobile)

## Prerequisites

- HTML and DOM APIs ([easy posts on API design](https://swe.quest/tags/api-design.md?difficulty=easy))
- JavaScript Promises ([easy posts on JavaScript](https://swe.quest/tags/javascript.md?difficulty=easy))
- basic 3D transforms

## Keywords

HTML model element, visionOS, Apple Vision Pro, USDZ, DOMMatrix, WebKit, OpenUSD

## Related posts

- [Introducing spatial CSS: A developer preview](https://swe.quest/articles/introducing-spatial-css-a-developer-preview-055662575217fccc.md): WebKit · 2026-11-16 · Medium · 7 min read · CSS, Browsers, Frontend
  Safari on visionOS 27.3 ships a developer preview of the proposed spatial CSS API, which routes 3D scene composition through declarative CSS built around the \`\<model\>\` element. \`spatial: portal\` turns a container into a shared 3D space where child models are moved with true 3D \`transform\`, snapped together via \`position-anchor\` and \`position-context: anchor\` against named empties exported from tools like Blender, and lit with reusable \`@environment-map\` rules using equirectangular HDR images. \`portal-action: orbit\` lets users rotate the scene, and \`requestVolumetricScene()\` pops the portal out into a live-linked volumetric scene in the user's space.
- [Try out your website in the spatial web](https://swe.quest/articles/try-out-your-website-in-the-spatial-web-5164ff9af4fcad84.md): WebKit · 2024-06-12 · Medium · 6 min read · Browsers, Developer tools, Debugging
  Websites generally need no special changes to work in Safari on visionOS, which runs the same WebKit engine.
- [What the iPhone Duo means for web development](https://swe.quest/articles/what-the-iphone-duo-means-for-web-development-ae876b58f98678e3.md): Mux · 2026-10-23 · Medium · 8 min read · Frontend, CSS, Browsers, Video & media, Mobile
  Safari on the foldable iPhone Duo exposes the Device Posture API and Viewport Segments API behind WebKit feature flags.
- [News from WWDC23: WebKit Features in Safari 17 beta](https://swe.quest/articles/news-from-wwdc23-webkit-features-in-safari-17-beta-56e2385f10cea4f8.md): WebKit · 2023-06-06 · Medium · 26 min read · Browsers, Frontend, CSS, Video & media
  Safari 17 beta brings 88 web features. Mac users can add any website to the Dock as a web app: cookies are copied over and web push and badging are supported.
- [A Linear spin on Liquid Glass](https://swe.quest/articles/a-linear-spin-on-liquid-glass-60cb39e52ee8fa30.md): Linear · 2025-10-21 · Medium · 6 min read · Mobile, Swift, Design systems, Frontend, Accessibility
  Linear rebuilt its own version of Apple's Liquid Glass for its iOS app rather than adopting the iOS 26 APIs, gaining a customizable, expandable tab bar and support for iOS 18 users.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
