---
title: ToolbarDefaultItemKind
framework: swiftui
role: symbol
role_heading: Structure
path: swiftui/toolbardefaultitemkind
---

# ToolbarDefaultItemKind

A kind of toolbar item a View adds by default.

## Declaration

```swift
struct ToolbarDefaultItemKind
```

## Overview

Overview Views can add toolbar items clients may wish to remove or customize. A default item kind can be passed to the 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](swiftui/toolbardefaultitemkind/sidebartoggle.md)

### Type Properties

- [search](swiftui/toolbardefaultitemkind/search.md)
- [title](swiftui/toolbardefaultitemkind/title.md)

## See Also

### Removing default items

- [toolbar(removing:)](swiftui/view/toolbar(removing:).md)
