# TabRenderProps (@salmonui/navigation/tabs)

> The TabRenderProps type of @salmonui/navigation/tabs: Props passed to a custom tab element (render): spread them all.

Canonical: https://salmonui.dev/docs/reference/navigation/tabs/TabRenderProps

```ts
import type { TabRenderProps } from '@salmonui/navigation/tabs';
```

Entry index: https://salmonui.dev/docs/reference/navigation/tabs (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/tabs.md).

## Reference

Kind: type

```ts
type TabRenderProps = HTMLAttributes<HTMLElement> & {
    readonly ref: (element: HTMLElement | null) => void;
    readonly role: 'tab';
    readonly id: string;
    readonly tabIndex: number;
    readonly 'data-value': string;
} & {
    readonly [attribute: `data-${string}`]: string | undefined;
};
```

Props passed to a custom tab element (`render`): spread them all.

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `id` | `id: string;` | inherited |  |
| `tabIndex` | `tabIndex: number;` | inherited |  |
| `role` | `role: "tab";` | inherited |  |
| `ref` | `ref: (element: HTMLElement \| null) => void;` | inherited |  |
| `data-value` | `data-value: string;` | inherited |  |
