How often do you need to change a number depending on the dynamic type preferences? The ScaledMetric property wrapper allows you to scale a BinaryFloatingValue according to the size category chosen by the user.
https://buff.ly/4cYfD40
Dynamic Type in SwiftUI

This week I want to talk to you about Dynamic Type support in SwiftUI. I think there is no way to create an excellent user experience without Dynamic Type support in your apps. SwiftUI provides Dynamic Type out of the box for any text representation and simplifies our job. But we still need to do some work, so let’s talk about it.

Swift with Majid