One element
Drop it into any HTML page.
An embeddable viewer for 360° and panoramic imagery.
Drag to look around
Drop it into any HTML page.
Responsive from mobile to headset.
Drag, auto-pan, fullscreen, and WebXR.
Load the module, point the component at an equirectangular image, and size it with CSS.
No new framework and no complicated scene graph. xr-view packages the rendering, controls, responsive sizing, and immersive handoff behind a familiar custom element.
Full installation guide<!-- Register the component -->
<script type="module" src="/xr-view.js"></script>
<xr-view src="/photosphere.jpg"></xr-view>