---
title: "init(_:image:content:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/tab/init(_:image:content:)"
---

# init(_:image:content:)

Creates a new tab that you can use in a tab view, with a localized string key label.

## Declaration

```swift
init(_ titleKey: LocalizedStringKey, image: String, @ContentBuilder content: () -> Content) where Label == DefaultTabLabel
```

## Parameters

- `titleKey`: The localized string key label for the tab’s tab item.
- `image`: The image for the tab’s tab item.
- `content`: The view content of the tab.

## See Also

### Creating a tab with image

- [init(_:image:value:content:)](swiftui/tab/init(_:image:value:content:).md)
- [init(_:image:role:content:)](swiftui/tab/init(_:image:role:content:).md)
- [init(_:image:value:role:content:)](swiftui/tab/init(_:image:value:role:content:).md)
