---
title: dynamicTypeSize
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/environmentvalues/dynamictypesize
---

# dynamicTypeSize

The current Dynamic Type size.

## Declaration

```swift
var dynamicTypeSize: DynamicTypeSize { get set }
```

## Discussion

Discussion This value changes as the user’s chosen Dynamic Type size changes. The default value is device-dependent. When limiting the Dynamic Type size, consider if adding a large content view with accessibilityShowsLargeContentViewer() would be appropriate. On macOS, this value cannot be changed by users and does not affect the text size.

## See Also

### Adjusting text size

- [textScale(_:isEnabled:)](swiftui/view/textscale(_:isenabled:).md)
- [dynamicTypeSize(_:)](swiftui/view/dynamictypesize(_:).md)
- [DynamicTypeSize](swiftui/dynamictypesize.md)
- [ScaledMetric](swiftui/scaledmetric.md)
- [TextVariantPreference](swiftui/textvariantpreference.md)
- [FixedTextVariant](swiftui/fixedtextvariant.md)
- [SizeDependentTextVariant](swiftui/sizedependenttextvariant.md)
