---
title: placeholder
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/redactionreasons/placeholder
---

# placeholder

Displayed data should appear as generic placeholders.

## Declaration

```swift
static let placeholder: RedactionReasons
```

## Discussion

Discussion Text and images will be automatically masked to appear as generic placeholders, though maintaining their original size and shape. Use this to create a placeholder UI without directly exposing placeholder data to users.

## See Also

### Getting redaction reasons

- [invalidated](swiftui/redactionreasons/invalidated.md)
- [privacy](swiftui/redactionreasons/privacy.md)
