On this page
Loading...
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `activeItemKey` | Preset the active item key. | `number` \| `string` | _undefined_ |
| `id` | HTML id attribute. | `string` | _tabs-n_ |
##### Outputs
| name | description | type |
| ---- | ----------- | ---- |
| `activeItemKeyChange` | Event emitted on `activeItemKey` change. | `number` \| `string` |
### c-tabs-list
_component_
`exportAs: cTabsList`
##### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `layout` | Specify a layout type for tabs list | `fill` \| `justified` | _undefined_ |
| `variant` | Set the variant of tabs | `pills` \| `tabs` \| `underline` \| `underline-border` | _undefined_ |
| `role` | Role attribute | `string` | _tablist_ |
### cTab
_directive_
`exportAs: cTab`
##### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `disabled` | Disabled button attribute | `boolean` | _false_ |
| `itemKey` | Item key | `string` \| `number` | _(required)_ |
| `id` | HTML id attribute | `string` | _undefined_ |
| `aria-controls` | aria-controls attribute | `string` | _undefined_ |
### c-tabs-content
_component_
`exportAs: cTabsContent`
- wrapper for tab panels
### c-tab-panel
_component_
`exportAs: cTabPanel`
##### Inputs
| name | description | type | default |
| ---- | ----------- | ---- | ------- |
| `ariaLabelledBy` | aria-labelledby attribute | `string` | _undefined_ |
| `id` | HTML id attribute | `string` | _undefined_ |
| `itemKey` | Item key | `string` \| `number` | _(required)_ |
| `tabindex` | Tabindex attribute | `number` | _0_ |
| `transition` | Enable fade in transition | `boolean` | _true_ |
##### Outputs
| name | description | type |
| ---- | ----------- | ---- |
| `visibleChange` | Event emitted on visible change. | `{ itemKey: string \| number; visible: boolean }` |