<!--
{
  "availability" : [
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/LinearGaugeStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI16LinearGaugeStyleV"
  },
  "title" : "LinearGaugeStyle"
}
-->

# 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.

```
nonisolated struct LinearGaugeStyle
```

## Overview

Use [`linear`](/documentation/SwiftUI/GaugeStyle/linear) to construct this style.

## Topics

### Creating the gauge style

[`init()`](/documentation/SwiftUI/LinearGaugeStyle/init())

Creates a linear gauge style.

### Deprecated initializers

[`init(tint:)`](/documentation/SwiftUI/LinearGaugeStyle/init(tint:))

Creates a linear gauge style with a tint color.

## Relationships

### Conforms To

[`GaugeStyle`](/documentation/SwiftUI/GaugeStyle)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)