---
title: medium
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/presentationdetent/medium
---

# medium

The system detent for a sheet that’s approximately half the height of the screen, and is inactive in compact height.

## Declaration

```swift
static let medium: PresentationDetent
```

## See Also

### Getting built-in detents

- [large](swiftui/presentationdetent/large.md)
