---
title: AttributeScopes.FoundationAttributes.PersonNameComponentAttribute
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/attributescopes/foundationattributes/personnamecomponentattribute
---

# AttributeScopes.FoundationAttributes.PersonNameComponentAttribute

A type for using a person name component as an attribute.

## Declaration

```swift
@frozen enum PersonNameComponentAttribute
```

## Topics

### Enumerations

- [AttributeScopes.FoundationAttributes.PersonNameComponentAttribute.Component](foundation/attributescopes/foundationattributes/personnamecomponentattribute/component.md)

## Relationships

### Conforms To

- [AttributedStringKey](foundation/attributedstringkey.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [DecodableAttributedStringKey](foundation/decodableattributedstringkey.md)
- [EncodableAttributedStringKey](foundation/encodableattributedstringkey.md)
- [Escapable](swift/escapable.md)
- [ObjectiveCConvertibleAttributedStringKey](foundation/objectivecconvertibleattributedstringkey.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Using person name component attributes

- [personNameComponent](foundation/attributescopes/foundationattributes/personnamecomponent.md)
