---
title: "VisionOS background materials | Explore SwiftUI"
description: "All background materials on visionOS. Learn how to use VisionOS background materials in SwiftUI with visual code examples."
canonical_url: "https://exploreswiftui.com/library/view/visionos-background-materials"
meta:
  author: "Explore SwiftUI"
  "og:description": "All background materials on visionOS. Learn how to use VisionOS background materials in SwiftUI with visual code examples."
  "og:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_VisionOS%2Bbackground%2Bmaterials%2Cdescription_All%2Bbackground%2Bmaterials%2Bon%2BvisionOS%2Ccategory_View%2Cimage_~L2FwaS9pbWFnZXMvMjYwL3ZhcmlhbnRzLzIxNDM~dj0xNzkzNzA3Njc5MDQ1JnI9MiZ3PTY0MCZoPTQ4MCZmPXBuZw%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMHB4IDBweCAwcHggMHB4OyBib3JkZXI6IDFweCBzb2xpZCByZ2JhKDAsMCwwLDAuMDYpOyBib3JkZXItcmlnaHQ6IDA7IGJveC1zaGFkb3c6IDAgLTEwcHggNTBweCByZ2JhKDM3LDk5LDIzNSwwLjE4KTs%2Cprops_eyJwbGF0Zm9ybXMiOlsidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3ZpZXcvdmlzaW9ub3MtYmFja2dyb3VuZC1tYXRlcmlhbHMi%2Cs_Yny1ELd-LFN7jUWf.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "VisionOS background materials | Explore SwiftUI"
  "twitter:description": "All background materials on visionOS. Learn how to use VisionOS background materials in SwiftUI with visual code examples."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Component%2Ctitle_VisionOS%2Bbackground%2Bmaterials%2Cdescription_All%2Bbackground%2Bmaterials%2Bon%2BvisionOS%2Ccategory_View%2Cimage_~L2FwaS9pbWFnZXMvMjYwL3ZhcmlhbnRzLzIxNDM~dj0xNzkzNzA3Njc5MDQ1JnI9MiZ3PTY0MCZoPTQ4MCZmPXBuZw%2CimageMode_fit%2CimagePosition_center%2CimageFrame_~Ym9yZGVyLXJhZGl1czogMHB4IDBweCAwcHggMHB4OyBib3JkZXI6IDFweCBzb2xpZCByZ2JhKDAsMCwwLDAuMDYpOyBib3JkZXItcmlnaHQ6IDA7IGJveC1zaGFkb3c6IDAgLTEwcHggNTBweCByZ2JhKDM3LDk5LDIzNSwwLjE4KTs%2Cprops_eyJwbGF0Zm9ybXMiOlsidmlzaW9uT1MiXX0%2Cp_Ii9saWJyYXJ5L3ZpZXcvdmlzaW9ub3MtYmFja2dyb3VuZC1tYXRlcmlhbHMi%2Cs_Yny1ELd-LFN7jUWf.png"
  "twitter:title": "VisionOS background materials | Explore SwiftUI"
---

> Index of every page on this site: [llms.txt](https://exploreswiftui.com/llms.txt)

**Interactive previews**[ Apple Vision Pro](https://exploreswiftui.com/vision-pro?element=260)

# **VisionOS background materials**

All background materials on visionOS

![VisionOS background materials - Preview Not Available](https://exploreswiftui.com/api/images/260/variants/2143?v=1793707679045&r=2&w=800&q=80&f=webp)

### **Platform Compatibility**

visionOS 1.0+

### **Tags**

### **SwiftUI Code**

[ Docs](https://developer.apple.com/documentation/swiftui/material)

```
HStack {
    smallRect
        .background(.ultraThinMaterial)
    smallRect
        // GroupBox background
        .background(.thinMaterial)
    smallRect
        // List and sidebar background
        .background(.regularMaterial)
    smallRect
        // searchable background
        .background(.thickMaterial)
    smallRect
        .background(.ultraThickMaterial)
}
```

### **Found an issue or have a suggestion?**

Created: November 3, 2026Updated: November 3, 2026

![Connect Wizard](https://exploreswiftui.com/_ipx/f_webp&q_80&s_48x48/images/connect-wizard-icon.png)

**Connect Wizard**

**Unlock insights App Store Connect doesn’t show you.**

[** Get Started **](https://apps.apple.com/app/apple-store/id6747314580?pt=121213751&ct=Explore%20SwiftUI%20Banner&mt=8)

### **More View Components **

[**View all **](https://exploreswiftui.com/library/view)

![Container Content Margins - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/257/variants/1987?v=1792070676534&r=2&w=412&q=75&f=webp)

### **Container Content Margins**

Adds the margins of the container the view is in.

![Toolbar Vertical Edge - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/254/variants/1863?v=1790589836833&r=2&w=412&q=75&f=webp)

### **Toolbar Vertical Edge**

This value reflects the system’s preferred edge for the vertical bar in the current context, regardless of whether a vertical bar is currently visible. Use it to position custom bars or other UI relative to the system’s bar placement.

![Hinge State - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/249/variants/1765?v=1793099575627&r=2&w=412&q=75&f=webp)

### **Hinge State**

A type encapsulating the state of a single hinge.

![Disabled Toolbar Vertical Behavior - iOS on iPhone Duo - Landscape - Fully Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/246/variants/1636?v=1790277107518&r=2&w=412&q=75&f=webp)

### **Disabled Toolbar Vertical Behavior**

Disables the vertical bar.

![Music Picker - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/232/variants/727?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Music Picker**

Presents a music picker to select items from the Apple Music catalog and the user’s music library.

![App Store Overlay - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/224/variants/269?v=1790073478842&r=2&w=412&q=75&f=webp)

### **App Store Overlay**

Presents a StoreKit overlay when a given condition is true.

![Manage Subscriptions Sheet - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/223/variants/241?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Manage Subscriptions Sheet**

Opens the manage subscriptions sheet.

![Swipe Container - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/201/variants/496?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Swipe Container**

Only allows a single active swipe within a container.

### **Explore Other Components **

[**Browse all **](https://exploreswiftui.com/)

![Reserved Regions - iOS on iPhone Duo - Landscape - Partially Open - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/253/variants/1811?v=1790587855674&r=2&w=412&q=75&f=webp)

### **Reserved Regions**

Returns the reserved regions for the given kind. A reserved region indicates that an area within a view’s coordinate space has been claimed by something the view does not own

![ViewThatFits - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/5/variants/1?v=1790073478842&r=2&w=412&q=75&f=webp)

### **ViewThatFits**

A view that adapts to the available space by providing the first child view that fits.

![Outline Group - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/132/variants/371?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Outline Group**

A structure that computes views and disclosure groups on demand from an underlying collection of tree-structured, identified data.

![Slider - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/49/variants/249?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Slider**

Creates a slider to select a value from a given range

![AccessoryCircularGaugeStyle - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/41/variants/219?v=1790073478842&r=2&w=412&q=75&f=webp)

### **AccessoryCircularGaugeStyle**

A gauge style that displays an open ring with a marker that appears at a point along the ring to indicate the gauge’s current value

![Button Sizing - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/190/variants/3?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Button Sizing**

The preferred sizing behavior of buttons in the view hierarchy.

![DatePicker Components  - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/59/variants/118?v=1790073478842&r=2&w=412&q=75&f=webp)

### **DatePicker Components **

A date picker with only one displayed component

![Disclosure Group - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/131/variants/363?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Disclosure Group**

A view that shows or hides another content view, based on the state of a disclosure control.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://exploreswiftui.com/#website","@type":"WebSite","description":"A visual library for SwiftUI APIs, components, and modifiers","inLanguage":"en-US","name":"Explore SwiftUI","url":"https://exploreswiftui.com/","publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/view/visionos-background-materials#webpage","@type":"WebPage","dateModified":"2026-11-03T12:07:59.391Z","datePublished":"2026-11-03T11:16:15.838Z","description":"All background materials on visionOS. Learn how to use VisionOS background materials in SwiftUI with visual code examples.","name":"VisionOS background materials","url":"https://exploreswiftui.com/library/view/visionos-background-materials","breadcrumb":{"@id":"https://exploreswiftui.com/library/view/visionos-background-materials#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/view/visionos-background-materials"]}],"primaryImageOfPage":{"@id":"https://exploreswiftui.com/#logo"}},{"@id":"https://exploreswiftui.com/#identity","@type":"Organization","description":"A visual library for SwiftUI APIs, components, and modifiers","name":"Explore SwiftUI","url":"https://exploreswiftui.com","logo":{"@id":"https://exploreswiftui.com/#logo"},"sameAs":["https://x.com/Typ0genius","https://mastodon.social/@Typ0genius"]},{"@id":"https://exploreswiftui.com/library/view/visionos-background-materials#article","dateModified":"2026-11-03T12:07:59.391Z","datePublished":"2026-11-03T11:16:15.838Z","description":"All background materials on visionOS. Learn how to use VisionOS background materials in SwiftUI with visual code examples.","headline":"VisionOS background materials","inLanguage":"en-US","name":"VisionOS background materials","thumbnailUrl":"https://exploreswiftui.com/api/images/260/variants/2143?v=1793707679045&r=2","url":"https://exploreswiftui.com/library/view/visionos-background-materials","@type":["Article","TechArticle"],"about":{"@type":"Thing","name":"SwiftUI"},"author":{"@id":"https://exploreswiftui.com/#identity"},"image":{"@id":"https://exploreswiftui.com/#/schema/image/1"},"isPartOf":{"@type":"WebSite","name":"Explore SwiftUI","url":"https://exploreswiftui.com"},"mainEntityOfPage":{"@id":"https://exploreswiftui.com/library/view/visionos-background-materials#webpage"},"publisher":{"@id":"https://exploreswiftui.com/#identity"}},{"@id":"https://exploreswiftui.com/library/view/visionos-background-materials#/schema/software-source-code/1","@type":"SoftwareSourceCode","codeRepository":"https://developer.apple.com/documentation/swiftui/material","codeSampleType":"full example","description":"All background materials on visionOS. Learn how to use VisionOS background materials in SwiftUI with visual code examples.","name":"VisionOS background materials SwiftUI Example","programmingLanguage":"Swift","runtimePlatform":"SwiftUI","text":"HStack {\n    smallRect\n        .background(.ultraThinMaterial)\n    smallRect\n        // GroupBox background\n        .background(.thinMaterial)\n    smallRect\n        // List and sidebar background\n        .background(.regularMaterial)\n    smallRect\n        // searchable background\n        .background(.thickMaterial)\n    smallRect\n        .background(.ultraThickMaterial)\n}","about":[{"@type":"Thing","name":"SwiftUI"},{"@type":"Thing","name":"View"},{"@type":"Thing","name":"VisionOS background materials"}]},{"@id":"https://exploreswiftui.com/library/view/visionos-background-materials#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"View","item":"https://exploreswiftui.com/library/view","position":2},{"@type":"ListItem","name":"VisionOS background materials","item":"https://exploreswiftui.com/library/view/visionos-background-materials","position":3}]},{"@id":"https://exploreswiftui.com/#logo","@type":"ImageObject","caption":"Explore SwiftUI","contentUrl":"https://exploreswiftui.com/apple-touch-icon.png","inLanguage":"en","url":"https://exploreswiftui.com/apple-touch-icon.png"},{"@id":"https://exploreswiftui.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://exploreswiftui.com/api/images/260/variants/2143?v=1793707679045&r=2","inLanguage":"en","url":"https://exploreswiftui.com/api/images/260/variants/2143?v=1793707679045&r=2"}]}
```