---
title: tertiary
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/shapestyle/tertiary-swift.type.property
---

# tertiary

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

## Declaration

```swift
static var tertiary: HierarchicalShapeStyle { get }
```

## Discussion

Discussion This hierarchical style maps to the third level of the current foreground style, or to the third 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(_:) modifier. For information about how to use shape styles, see ShapeStyle.

## See Also

### Hierarchical styles

- [secondary](swiftui/shapestyle/secondary-swift.property.md)
- [tertiary](swiftui/shapestyle/tertiary-swift.property.md)
- [quaternary](swiftui/shapestyle/quaternary-swift.property.md)
- [quinary](swiftui/shapestyle/quinary-swift.property.md)
- [primary](swiftui/shapestyle/primary.md)
- [secondary](swiftui/shapestyle/secondary-swift.type.property.md)
- [quaternary](swiftui/shapestyle/quaternary-swift.type.property.md)
- [quinary](swiftui/shapestyle/quinary-swift.type.property.md)
