# Tab (w-tab)

## Description

Individual tab component used within w-tabs container.

[Warp component reference](https://warp-ds.github.io/docs/components/tabs/frameworks/elements)

### `<w-tab>` API

#### Properties

| Name | Type | Default | Summary |
|-|-|-|-|
| _internals (JS only) | `unknown` | `-` | - |
| for | `string \| undefined` | `-` | The `id` of the `<w-tab-panel>` this tab controls. |
| over | `boolean` | `false` | Whether to show the `icon` slot over the tab title instead of inline. |
| tabindex | `number` | `0` | The host element (`<w-tab>`), the one with `role=tab`, must be the focusable element for assistive technology. |

#### Property Details

##### _internals (JS only)



- Type: `unknown`
- Default: `-`

##### for

The `id` of the `<w-tab-panel>` this tab controls.

- Type: `string | undefined`
- Default: `-`

##### over

Whether to show the `icon` slot over the tab title instead of inline.

- Type: `boolean`
- Default: `false`

##### tabindex

The host element (`<w-tab>`), the one with `role=tab`, must be the focusable element for assistive technology.

- Type: `number`
- Default: `0`

