---
title: ShadowStyle
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/shadowstyle
---

# ShadowStyle

A style to use when rendering shadows.

## Declaration

```swift
struct ShadowStyle
```

## Topics

### Getting shadow styles

- [drop(color:radius:x:y:)](swiftui/shadowstyle/drop(color:radius:x:y:).md)
- [inner(color:radius:x:y:)](swiftui/shadowstyle/inner(color:radius:x:y:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Styling content

- [border(_:width:)](swiftui/view/border(_:width:).md)
- [foregroundStyle(_:)](swiftui/view/foregroundstyle(_:).md)
- [foregroundStyle(_:_:)](swiftui/view/foregroundstyle(_:_:).md)
- [foregroundStyle(_:_:_:)](swiftui/view/foregroundstyle(_:_:_:).md)
- [backgroundStyle(_:)](swiftui/view/backgroundstyle(_:).md)
- [backgroundStyle](swiftui/environmentvalues/backgroundstyle.md)
- [ShapeStyle](swiftui/shapestyle.md)
- [AnyShapeStyle](swiftui/anyshapestyle.md)
- [Gradient](swiftui/gradient.md)
- [MeshGradient](swiftui/meshgradient.md)
- [AnyGradient](swiftui/anygradient.md)
- [Glass](swiftui/glass.md)
