---
title: shadow
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsattributedstring/key/shadow
---

# shadow

The shadow of the text.

## Declaration

```swift
static let shadow: NSAttributedString.Key
```

## Discussion

Discussion The value of this attribute is an NSShadow object. The default value of this property is nil.

## See Also

### Getting text attribute keys

- [cursor](foundation/nsattributedstring/key/cursor.md)
- [link](foundation/nsattributedstring/key/link.md)
- [markedClauseSegment](foundation/nsattributedstring/key/markedclausesegment.md)
- [replacementIndex](foundation/nsattributedstring/key/replacementindex.md)
- [spellingState](foundation/nsattributedstring/key/spellingstate.md)
- [suggestionHighlight](foundation/nsattributedstring/key/suggestionhighlight.md)
- [textAlternatives](foundation/nsattributedstring/key/textalternatives.md)
- [textEffect](foundation/nsattributedstring/key/texteffect.md)
- [textHighlightColorScheme](foundation/nsattributedstring/key/texthighlightcolorscheme.md)
- [textHighlightStyle](foundation/nsattributedstring/key/texthighlightstyle.md)
- [textItemTag](foundation/nsattributedstring/key/textitemtag.md)
- [toolTip](foundation/nsattributedstring/key/tooltip.md)
