<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/SidebarRowSize",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI14SidebarRowSizeO"
  },
  "title" : "SidebarRowSize"
}
-->

# SidebarRowSize

The standard sizes of sidebar rows.

```
enum SidebarRowSize
```

## Overview

On macOS, sidebar rows have three different sizes: small, medium, and large.
The size is primarily controlled by the current users’ “Sidebar Icon Size”
in Appearance settings, and applies to all applications.

On all other platforms, the only supported sidebar size is `.medium`.

This size can be read or written in the environment using
`EnvironmentValues.sidebarRowSize`.

## Topics

### Getting row sizes

[`case small`](/documentation/SwiftUI/SidebarRowSize/small)

The standard “small” row size

[`case medium`](/documentation/SwiftUI/SidebarRowSize/medium)

The standard “medium” row size

[`case large`](/documentation/SwiftUI/SidebarRowSize/large)

The standard “large” row size

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)