<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ShapeStyle/quaternary-swift.type.property",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI10ShapeStylePA2A012HierarchicalcD0VRszrlE10quaternaryAEvpZ"
  },
  "title" : "quaternary"
}
-->

# quaternary

A shape style that maps to the fourth level of the current content
style.

```
@export(implementation) static var quaternary: HierarchicalShapeStyle { get }
```

## Discussion

This hierarchical style maps to the fourth level of the current
foreground style, or to the fourth level of the default foreground style
if you haven’t set a foreground style in the view’s environment. You
typically set a foreground style by supplying a non-hierarchical style
to the [`foregroundStyle(_:)`](/documentation/SwiftUI/View/foregroundStyle(_:)) modifier.

For information about how to use shape styles, see [`ShapeStyle`](/documentation/SwiftUI/ShapeStyle).

---

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)