---
title: AttributeScopes.SwiftUIAttributes
framework: foundation
role: symbol
role_heading: Structure
path: foundation/attributescopes/swiftuiattributes
---

# AttributeScopes.SwiftUIAttributes

Attribute scopes that SwiftUI defines.

## Declaration

```swift
struct SwiftUIAttributes
```

## Topics

### Using Color Attributes

- [backgroundColor](foundation/attributescopes/swiftuiattributes/backgroundcolor.md)
- [foregroundColor](foundation/attributescopes/swiftuiattributes/foregroundcolor.md)

### Using Font and Layout Attributes

- [font](foundation/attributescopes/swiftuiattributes/font.md)
- [tracking](foundation/attributescopes/swiftuiattributes/tracking.md)

### Using Text Styling Attributes

- [baselineOffset](foundation/attributescopes/swiftuiattributes/baselineoffset.md)
- [kern](foundation/attributescopes/swiftuiattributes/kern.md)

### Using Foundation Attributes

- [foundation](foundation/attributescopes/swiftuiattributes/foundation.md)

### Instance Properties

- [accessibility](foundation/attributescopes/swiftuiattributes/accessibility.md)
- [adaptiveImageGlyph](foundation/attributescopes/swiftuiattributes/adaptiveimageglyph.md)
- [alignment](foundation/attributescopes/swiftuiattributes/alignment.md)
- [lineHeight](foundation/attributescopes/swiftuiattributes/lineheight.md)
- [strikethroughStyle](foundation/attributescopes/swiftuiattributes/strikethroughstyle.md)
- [underlineStyle](foundation/attributescopes/swiftuiattributes/underlinestyle.md)

### Enumerations

- [AttributeScopes.SwiftUIAttributes.AdaptiveImageGlyphAttribute](foundation/attributescopes/swiftuiattributes/adaptiveimageglyphattribute.md)
- [AttributeScopes.SwiftUIAttributes.BackgroundColorAttribute](foundation/attributescopes/swiftuiattributes/backgroundcolorattribute.md)
- [AttributeScopes.SwiftUIAttributes.BaselineOffsetAttribute](foundation/attributescopes/swiftuiattributes/baselineoffsetattribute.md)
- [AttributeScopes.SwiftUIAttributes.FontAttribute](foundation/attributescopes/swiftuiattributes/fontattribute.md)
- [AttributeScopes.SwiftUIAttributes.ForegroundColorAttribute](foundation/attributescopes/swiftuiattributes/foregroundcolorattribute.md)
- [AttributeScopes.SwiftUIAttributes.KerningAttribute](foundation/attributescopes/swiftuiattributes/kerningattribute.md)
- [AttributeScopes.SwiftUIAttributes.StrikethroughStyleAttribute](foundation/attributescopes/swiftuiattributes/strikethroughstyleattribute.md)
- [AttributeScopes.SwiftUIAttributes.TrackingAttribute](foundation/attributescopes/swiftuiattributes/trackingattribute.md)
- [AttributeScopes.SwiftUIAttributes.UnderlineStyleAttribute](foundation/attributescopes/swiftuiattributes/underlinestyleattribute.md)

## Relationships

### Conforms To

- [AttributeScope](foundation/attributescope.md)
- [DecodingConfigurationProviding](foundation/decodingconfigurationproviding.md)
- [EncodingConfigurationProviding](foundation/encodingconfigurationproviding.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### SwiftUI-Defined Attributes

- [swiftUI](foundation/attributescopes/swiftui.md)
