---
title: "Label Components | Explore SwiftUI"
description: "A standard label for user interface items, consisting of an icon with a title. Explore 4 SwiftUI label components with visual code examples."
canonical_url: "https://exploreswiftui.com/library/label"
meta:
  author: "Explore SwiftUI"
  "og:description": "A standard label for user interface items, consisting of an icon with a title. Explore 4 SwiftUI label components with visual code examples."
  "og:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_Label%2BComponents%2Cdescription_Explore%2B4%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2xhYmVsIg%2Cs_-axPmTvJQu5IEeeA.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Label Components | Explore SwiftUI"
  "twitter:description": "A standard label for user interface items, consisting of an icon with a title. Explore 4 SwiftUI label components with visual code examples."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_Label%2BComponents%2Cdescription_Explore%2B4%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2xhYmVsIg%2Cs_-axPmTvJQu5IEeeA.png"
  "twitter:title": "Label Components | Explore SwiftUI"
---

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

# **Label Components**

A standard label for user interface items, consisting of an icon with a title.

4 components

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

### **Custom Label**

Creates a label with a custom title and icon.

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

### **Image Label**

Creates a label with an icon image and a title generated from a localized string.

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

### **System Image Label**

Creates a label with a system icon image and a title generated from a localized string.

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

### **Label Styles**

Sets the style for labels within this view.

```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/label#webpage","description":"A standard label for user interface items, consisting of an icon with a title. Explore 4 SwiftUI label components with visual code examples.","inLanguage":"en-US","name":"Label Components","url":"https://exploreswiftui.com/library/label","@type":["WebPage","CollectionPage"],"about":{"@id":"https://developer.apple.com/documentation/swiftui"},"breadcrumb":{"@id":"https://exploreswiftui.com/library/label#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"mainEntity":{"@id":"https://exploreswiftui.com/library/label#itemlist"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/label"]}],"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/label#itemlist","@type":"ItemList","name":"Label Components","numberOfItems":4,"itemListElement":[{"@type":"ListItem","position":1,"name":"Custom Label","url":"https://exploreswiftui.com/library/label/custom-label"},{"@type":"ListItem","position":2,"name":"Image Label","url":"https://exploreswiftui.com/library/label/image-label"},{"@type":"ListItem","position":3,"name":"System Image Label","url":"https://exploreswiftui.com/library/label/system-image-label"},{"@type":"ListItem","position":4,"name":"Label Styles","url":"https://exploreswiftui.com/library/label/label-styles"}]},{"@id":"https://exploreswiftui.com/library/label#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"Label","item":"https://exploreswiftui.com/library/label","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"}]}
```