Spatial Favicons
Traditionally favicons are flat, 2D images. When transitioning to the immersive-web, your favicons can also be 3D images.
Supported 3D Models
- glTF Binary (.glb)
Enabling 3D favicon on websites
To enable a 3D favicon for a website, use the <link>
element as you would with a 2D favicon, but change the mime type to match the icon.
/* Sample using glTF binary */
<link rel=icon href=3dicon.glb type="model/gltf-binary">
Guidance
- See the 3D Favicons Guide for specific asset creation guidance
- 3D favicons have been proposed as a W3C Standard
- We recommend using the glTF 2.0 file type