---
title: "AsyncImage Components | Explore SwiftUI"
description: "A view that asynchronously loads and displays an image. Explore 4 SwiftUI asyncimage components with code examples for iOS, macOS, watchOS, tvOS, and visionOS."
canonical_url: "https://exploreswiftui.com/library/asyncimage"
meta:
  author: "Explore SwiftUI"
  "og:description": "A view that asynchronously loads and displays an image. Explore 4 SwiftUI asyncimage components with code examples for iOS, macOS, watchOS, tvOS, and visionOS."
  "og:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_AsyncImage%2BComponents%2Cdescription_Explore%2B4%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2FzeW5jaW1hZ2Ui%2Cs_SnQPuWpQJsWAj3eE.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "AsyncImage Components | Explore SwiftUI"
  "twitter:description": "A view that asynchronously loads and displays an image. Explore 4 SwiftUI asyncimage components with code examples for iOS, macOS, watchOS, tvOS, and visionOS."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_AsyncImage%2BComponents%2Cdescription_Explore%2B4%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2FzeW5jaW1hZ2Ui%2Cs_SnQPuWpQJsWAj3eE.png"
  "twitter:title": "AsyncImage Components | Explore SwiftUI"
---

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

# **AsyncImage Components**

A view that asynchronously loads and displays an image.

4 components

![Custom Placeholder Async URL Image - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/194/variants/275?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Custom Placeholder Async URL Image**

Loads and displays a modifiable image from the specified URL load request using a custom placeholder until the image loads.

![Custom Phases Async URL Image - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/193/variants/215?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Custom Phases Async URL Image**

Loads and displays a modifiable image from the specified URL load request in phases.

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

### **Async URL Image**

Loads and displays an image from the specified URL load request.

![Custom Session Async URL Image - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/195/variants/299?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Custom Session Async URL Image**

A modifier that adds a URL session for asynchronous images contained in the view to use when fetching image data.

```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/asyncimage#webpage","@type":"WebPage","description":"A view that asynchronously loads and displays an image. Explore 4 SwiftUI asyncimage components with code examples for iOS, macOS, watchOS, tvOS, and visionOS.","name":"AsyncImage Components","url":"https://exploreswiftui.com/library/asyncimage","breadcrumb":{"@id":"https://exploreswiftui.com/library/asyncimage#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/asyncimage"]}],"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/asyncimage#collectionpage","@type":"CollectionPage","description":"A view that asynchronously loads and displays an image. Explore 4 SwiftUI asyncimage components with code examples for iOS, macOS, watchOS, tvOS, and visionOS.","inLanguage":"en-US","name":"AsyncImage Components","url":"https://exploreswiftui.com/library/asyncimage","about":{"@type":"Thing","name":"SwiftUI"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"}},{"@id":"https://exploreswiftui.com/library/asyncimage#/schema/item-list/1","@type":"ItemList","name":"AsyncImage Components","itemListElement":[{"@type":"ListItem","position":1,"name":"Custom Placeholder Async URL Image","url":"https://exploreswiftui.com/library/asyncimage/custom-placeholder-async-url-image"},{"@type":"ListItem","position":2,"name":"Custom Phases Async URL Image","url":"https://exploreswiftui.com/library/asyncimage/custom-phases-async-url-image"},{"@type":"ListItem","position":3,"name":"Async URL Image","url":"https://exploreswiftui.com/library/asyncimage/async-url-image"},{"@type":"ListItem","position":4,"name":"Custom Session Async URL Image","url":"https://exploreswiftui.com/library/asyncimage/custom-session-async-url-image"}]},{"@id":"https://exploreswiftui.com/library/asyncimage#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"AsyncImage","item":"https://exploreswiftui.com/library/asyncimage","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"}]}
```