---
title: Measurement.FormatStyle.UnitWidth
framework: foundation
role: symbol
role_heading: Structure
path: foundation/measurement/formatstyle/unitwidth
---

# Measurement.FormatStyle.UnitWidth

Specifies the width of the unit, determining the textual representation.

## Declaration

```swift
struct UnitWidth
```

## Topics

### Unit widths

- [wide](foundation/measurement/formatstyle/unitwidth/wide.md)
- [abbreviated](foundation/measurement/formatstyle/unitwidth/abbreviated.md)
- [narrow](foundation/measurement/formatstyle/unitwidth/narrow.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Modifying a measurement format style

- [width](foundation/measurement/formatstyle/width.md)
- [numberFormatStyle](foundation/measurement/formatstyle/numberformatstyle.md)
- [usage](foundation/measurement/formatstyle/usage.md)
- [hidesScaleName](foundation/measurement/formatstyle/hidesscalename.md)
- [locale](foundation/measurement/formatstyle/locale.md)
- [locale(_:)](foundation/measurement/formatstyle/locale(_:).md)
