---
title: "Gauge Components | Explore SwiftUI"
description: "A view that shows a value within a range. Explore 11 SwiftUI gauge components with code examples for iOS, macOS, watchOS, tvOS, and visionOS."
canonical_url: "https://exploreswiftui.com/library/gauge"
meta:
  author: "Explore SwiftUI"
  "og:description": "A view that shows a value within a range. Explore 11 SwiftUI gauge components with code examples for iOS, macOS, watchOS, tvOS, and visionOS."
  "og:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_Gauge%2BComponents%2Cdescription_Explore%2B11%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2dhdWdlIg%2Cs_dAKhyVYjFRzrXEM-.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Gauge Components | Explore SwiftUI"
  "twitter:description": "A view that shows a value within a range. Explore 11 SwiftUI gauge components with code examples for iOS, macOS, watchOS, tvOS, and visionOS."
  "twitter:image": "https://exploreswiftui.com/_og/d/c_Default%2Ctitle_Gauge%2BComponents%2Cdescription_Explore%2B11%2BSwiftUI%2Bcomponents%2Bvisually%2Cp_Ii9saWJyYXJ5L2dhdWdlIg%2Cs_dAKhyVYjFRzrXEM-.png"
  "twitter:title": "Gauge Components | Explore SwiftUI"
---

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

# **Gauge Components**

A view that shows a value within a range.

11 components

![Min Max Current Value Gauge - iOS on iPhone - Portrait - Liquid Glass - Light Mode - Preview](https://exploreswiftui.com/api/images/40/variants/231?v=1790073478842&r=2&w=412&q=75&f=webp)

### **Min Max Current Value Gauge**

Creates a gauge showing a value within a range and describes the gauge’s current, minimum, and maximum values

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

### **Current Value Gauge **

Creates a gauge showing a value within a range and that describes the gauge’s purpose and current value

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

### **Gauge**

Creates a gauge showing a value within a range and describes the gauge’s purpose and current value

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

### **Gauge Colors**

Customizing the colors of different styles with minimal effort

![CircularGaugeStyle - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/47/variants/263?v=1790073478842&r=2&w=412&q=75&f=webp)

### **CircularGaugeStyle**

A gauge style that displays an open ring with a marker that appears at a point along the ring to indicate the gauge’s current value

![ LinearGaugeStyle - iOS on iPhone - Portrait - Flat Design - Light Mode - Preview](https://exploreswiftui.com/api/images/46/variants/264?v=1790073478842&r=2&w=412&q=75&f=webp)

### **LinearGaugeStyle**

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

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

### **AccessoryLinearCapacityGaugeStyle**

A gauge style that displays bar that fills from leading to trailing edges as the gauge’s current value increases

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

### **AccessoryLinearGaugeStyle**

A gauge style that displays bar with a marker that appears at a point along the bar to indicate the gauge’s current value

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

### **LinearCapacityGaugeStyle**

A gauge style that displays a bar that fills from leading to trailing edges as the gauge’s current value increases

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

### **AccessoryCircularCapacityGaugeStyle**

A gauge style that displays a closed ring that’s partially filled in to indicate the gauge’s current value

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

### **AccessoryCircularGaugeStyle**

A gauge style that displays an open ring with a marker that appears at a point along the ring to indicate the gauge’s current value

```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/gauge#webpage","@type":"WebPage","description":"A view that shows a value within a range. Explore 11 SwiftUI gauge components with code examples for iOS, macOS, watchOS, tvOS, and visionOS.","name":"Gauge Components","url":"https://exploreswiftui.com/library/gauge","breadcrumb":{"@id":"https://exploreswiftui.com/library/gauge#breadcrumb"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://exploreswiftui.com/library/gauge"]}],"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/gauge#collectionpage","@type":"CollectionPage","description":"A view that shows a value within a range. Explore 11 SwiftUI gauge components with code examples for iOS, macOS, watchOS, tvOS, and visionOS.","inLanguage":"en-US","name":"Gauge Components","url":"https://exploreswiftui.com/library/gauge","about":{"@type":"Thing","name":"SwiftUI"},"isPartOf":{"@id":"https://exploreswiftui.com/#website"}},{"@id":"https://exploreswiftui.com/library/gauge#/schema/item-list/1","@type":"ItemList","name":"Gauge Components","itemListElement":[{"@type":"ListItem","position":1,"name":"Min Max Current Value Gauge","url":"https://exploreswiftui.com/library/gauge/min-max-current-value-gauge"},{"@type":"ListItem","position":2,"name":"Current Value Gauge ","url":"https://exploreswiftui.com/library/gauge/current-value-gauge"},{"@type":"ListItem","position":3,"name":"Gauge","url":"https://exploreswiftui.com/library/gauge/gauge"},{"@type":"ListItem","position":4,"name":"Gauge Colors","url":"https://exploreswiftui.com/library/gauge/gauge-colors"},{"@type":"ListItem","position":5,"name":"CircularGaugeStyle","url":"https://exploreswiftui.com/library/gauge/circulargaugestyle"},{"@type":"ListItem","position":6,"name":" LinearGaugeStyle","url":"https://exploreswiftui.com/library/gauge/lineargaugestyle"},{"@type":"ListItem","position":7,"name":"AccessoryLinearCapacityGaugeStyle","url":"https://exploreswiftui.com/library/gauge/accessorylinearcapacitygaugestyle"},{"@type":"ListItem","position":8,"name":"AccessoryLinearGaugeStyle","url":"https://exploreswiftui.com/library/gauge/accessorylineargaugestyle"},{"@type":"ListItem","position":9,"name":"LinearCapacityGaugeStyle","url":"https://exploreswiftui.com/library/gauge/linearcapacitygaugestyle"},{"@type":"ListItem","position":10,"name":"AccessoryCircularCapacityGaugeStyle","url":"https://exploreswiftui.com/library/gauge/accessorycircularcapacitygaugestyle"},{"@type":"ListItem","position":11,"name":"AccessoryCircularGaugeStyle","url":"https://exploreswiftui.com/library/gauge/accessorycirculargaugestyle"}]},{"@id":"https://exploreswiftui.com/library/gauge#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://exploreswiftui.com","position":1},{"@type":"ListItem","name":"Gauge","item":"https://exploreswiftui.com/library/gauge","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"}]}
```