<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/ToolbarDefaultItemKind/search",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI22ToolbarDefaultItemKindV6searchACvpZ"
  },
  "title" : "search"
}
-->

# search

The search item added by a
[`searchable(text:isPresented:placement:prompt:)`](/documentation/SwiftUI/View/searchable(text:isPresented:placement:prompt:)) modifier.

```
static let search: ToolbarDefaultItemKind
```

## Discussion

Use a `.search` default item kind with
[`init(kind:placement:)`](/documentation/SwiftUI/DefaultToolbarItem/init(kind:placement:)) to customize the
[`ToolbarItemPlacement`](/documentation/SwiftUI/ToolbarItemPlacement) of a default item kind. The search default
item kind can be placed in the [`bottomBar`](/documentation/SwiftUI/ToolbarItemPlacement/bottomBar) on
all supported platforms. On iOS, it can also be placed in the
top bar.

---

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)