---
title: search
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/toolbardefaultitemkind/search
---

# search

The search item added by a View/searchable(text:isPresented:placement:prompt) modifier.

## Declaration

```swift
static let search: ToolbarDefaultItemKind
```

## Discussion

Discussion Use a .search default item kind with DefaultToolbarItem/init(kind:placment:) to customize the ToolbarItemPlacement of a default item kind. The search default item kind can be placed in the .bottomBar on iPhone only. All available platforms support .topBarTrailing and .automatic.
