Interactive previews iPhone
Content Unavailable Search Text
A pre-built placeholder for empty search results with search text
Platform Compatibility
iOS 17.0+ iPadOS 17.0+ macOS 14.0+ watchOS 10.0+ tvOS 17.0+ visionOS 1.0+
Tags
SwiftUI Code
ContentUnavailableView.search(text: "foo")
Found an issue or have a suggestion?
Created: May 28, 2025Updated: December 27, 2025
More ContentUnavailableView Components
View allExplore Other Components
Browse allSheet Background
Sets the presentation background of the enclosing sheet using a shape style.
Min Max Current Value Gauge
Creates a gauge showing a value within a range and describes the gauge’s current, minimum, and maximum values
Stepped Min Max Label Slider
Creates a slider to select a value from a given range, subject to a step increment, which displays the provided labels