---
title: "ContentUnavailableView Components | Explore SwiftUI"
description: "An interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users"
canonical_url: "https://exploreswiftui.com/library/contentunavailableview"
meta:
  author: "Explore SwiftUI"
  "og:description": "An interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users"
  "og:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ContentUnavailableView%2BComponents%2Cdescription_Explore%2B3%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2NvbnRlbnR1bmF2YWlsYWJsZXZpZXci%2Cs_5LT2EYOZKSEh1O7X.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "ContentUnavailableView Components | Explore SwiftUI"
  "twitter:description": "An interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users"
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_ContentUnavailableView%2BComponents%2Cdescription_Explore%2B3%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2NvbnRlbnR1bmF2YWlsYWJsZXZpZXci%2Cs_5LT2EYOZKSEh1O7X.png"
  "twitter:title": "ContentUnavailableView Components | Explore SwiftUI"
---

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

# **ContentUnavailableView Components**

An interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users.

3 components

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

### **Content Unavailable**

A placeholder for empty results with optional button

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

### **Content Unavailable Search Text**

A pre-built placeholder for empty search results with search text

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

### **Content Unavailable Search**

A pre-built placeholder for empty search results

```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/contentunavailableview#webpage","@type":"WebPage","description":"An interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users","name":"ContentUnavailableView Components","url":"https://exploreswiftui.com/library/contentunavailableview","breadcrumb":{"@id":"https://exploreswiftui.com/library/contentunavailableview#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/contentunavailableview"]}],"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/contentunavailableview#collectionpage","@type":"CollectionPage","description":"An interface, consisting of a label and additional content, that you display when the content of your app is unavailable to users","inLanguage":"en-US","name":"ContentUnavailableView Components","url":"https://exploreswiftui.com/library/contentunavailableview","about":{"@type":"Thing","name":"SwiftUI"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"}},{"@id":"https://exploreswiftui.com/library/contentunavailableview#/schema/item-list/1","@type":"ItemList","name":"ContentUnavailableView Components","itemListElement":[{"@type":"ListItem","position":1,"name":"Content Unavailable","url":"https://exploreswiftui.com/library/contentunavailableview/content-unavailable"},{"@type":"ListItem","position":2,"name":"Content Unavailable Search Text","url":"https://exploreswiftui.com/library/contentunavailableview/content-unavailable-search-text"},{"@type":"ListItem","position":3,"name":"Content Unavailable Search","url":"https://exploreswiftui.com/library/contentunavailableview/content-unavailable-search"}]},{"@id":"https://exploreswiftui.com/library/contentunavailableview#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"ContentUnavailableView","item":"https://exploreswiftui.com/library/contentunavailableview","position":2}]},{"@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"}]}
```