# Tab

> Constructs a Tab.

## Definition

* **Type:** Constructor
* **Namespace:** [UnityEngine.UIElements](/engine/6000.7/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

## Tab()

Constructs a Tab.

```csharp
public Tab()
```

## Tab(string)

Constructs a Tab.

```csharp
public Tab(string label)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The text to use as the header label.

## Tab(Background)

Constructs a Tab.

```csharp
public Tab(Background iconImage)
```

### Parameters

**** (\[Background]\(/engine/6000.7/script-reference/unityengine/uielements/background)): The icon used as the header icon.

## Tab(string, Background)

Constructs a Tab.

```csharp
public Tab(string label, Background iconImage)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The text to use as the header label.**** (\[Background]\(/engine/6000.7/script-reference/unityengine/uielements/background)): The icon used as the header icon.
