# tabs

```ts
import { TabsModule } from '@anguless/angulux/tabs';
```

## Tab

`agl-tab` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

Defines valid properties in Tab component.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `disabled` | `` | `false` | Whether the tab is disabled. |

## TabList

`agl-tablist` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

TabList is a helper component for Tabs component.

| Slot | Read as | Description |
| --- | --- | --- |
| `<ng-template #previcon>` | `prevIconTemplate` | A template reference variable that represents the previous icon in a UI component. |
| `<ng-template #nexticon>` | `nextIconTemplate` | A template reference variable that represents the next icon in a UI component. |

## TabPanel

`agl-tabpanel` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

TabPanel is a helper component for Tabs component.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `lazy` | `` | `false` | When enabled, tab is not rendered until activation. |

| Slot | Read as | Description |
| --- | --- | --- |
| `<ng-template #content>` | `content` | Template for initializing complex content when lazy is enabled. |

## TabPanels

`agl-tabpanels` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

TabPanels is a helper component for Tabs component.

## Tabs

`agl-tabs` — component

Inherits every input, output and slot of `BaseComponent` — see [basecomponent.md](basecomponent.md).

Tabs facilitates seamless switching between different views.

| Input | Type | Default | Description |
| --- | --- | --- | --- |
| `scrollable` | `` | `false` | When specified, enables horizontal and/or vertical scrolling. |
| `lazy` | `` | `false` | When enabled, tabs are not rendered until activation. |
| `selectOnFocus` | `` | `false` | When enabled, the focused tab is activated. |
| `showNavigators` | `` | `true` | Whether to display navigation buttons in container when scrollable is enabled. |
| `tabindex` | `` | `0` | Tabindex of the tab buttons. |
