<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarDefaultItemKind",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI22ToolbarDefaultItemKindV"
  },
  "title" : "ToolbarDefaultItemKind"
}
-->

# ToolbarDefaultItemKind

A kind of toolbar item a `View` adds by default.

```
struct ToolbarDefaultItemKind
```

## Overview

`View`s can add toolbar items clients may wish to remove or customize. A
default item kind can be passed to the [`toolbar(removing:)`](/documentation/SwiftUI/View/toolbar(removing:)) modifier
to remove the item. Documentation on the `View` placing the default item
should reference the `ToolbarDefaultItemKind` used to remove the item.

## Topics

### Getting the default item types

[`sidebarToggle`](/documentation/SwiftUI/ToolbarDefaultItemKind/sidebarToggle)

The sidebar toggle toolbar item a `NavigationSplitView` adds by default.



---

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)