More people need to know about the "tabular numbers" feature that modern fonts have

Use it to make numbers to line up with a UI font (or anything not monospace)

CSS: font-feature-settings: tnum
SwiftUI: .font(.body.monospacedDigit())

@kdrag0n in SwiftUI you can also just do .monospacedDigit() if you don’t need to set the font