---
title: ForegroundStyle
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/foregroundstyle
---

# ForegroundStyle

The foreground style in the current context.

## Declaration

```swift
@frozen struct ForegroundStyle
```

## Overview

Overview You can also use foreground to construct this style.

## Topics

### Creating a foreground style

- [init()](swiftui/foregroundstyle/init().md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [ShapeStyle](swiftui/shapestyle.md)

## See Also

### Supporting types

- [AngularGradient](swiftui/angulargradient.md)
- [EllipticalGradient](swiftui/ellipticalgradient.md)
- [LinearGradient](swiftui/lineargradient.md)
- [RadialGradient](swiftui/radialgradient.md)
- [Material](swiftui/material.md)
- [ImagePaint](swiftui/imagepaint.md)
- [HierarchicalShapeStyle](swiftui/hierarchicalshapestyle.md)
- [HierarchicalShapeStyleModifier](swiftui/hierarchicalshapestylemodifier.md)
- [BackgroundStyle](swiftui/backgroundstyle.md)
- [SelectionShapeStyle](swiftui/selectionshapestyle.md)
- [SeparatorShapeStyle](swiftui/separatorshapestyle.md)
- [TintShapeStyle](swiftui/tintshapestyle.md)
- [FillShapeStyle](swiftui/fillshapestyle.md)
- [LinkShapeStyle](swiftui/linkshapestyle.md)
- [PlaceholderTextShapeStyle](swiftui/placeholdertextshapestyle.md)
