Interactive previews Apple Vision Pro
VisionOS background materials
All background materials on visionOS
Platform Compatibility
visionOS 1.0+
Tags
SwiftUI Code
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
More View Components
View allToolbar 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.
Music Picker
Presents a music picker to select items from the Apple Music catalog and the user’s music library.
Explore Other Components
Browse allLinearGaugeStyle
A gauge style that displays a bar with a marker that appears at a point along the bar to indicate the gauge’s current value
Prefer Vertical Toolbar Items
A compression behavior that prioritizes keeping toolbar items visible over other elements, such as tabs. By default, tabs are prioritized.
VerticalPageTabViewStyle
A TabViewStyle that displays a vertical TabView interaction and appearance.