Vue Tabs Component API

Tabs API

Explore the API reference for the Vue Tabs component and discover how to effectively utilize its props for customization.

CTab

jsx
import { CTab } from '@coreui/vue-pro'
PropertyDefaultType
disabled5.4.0+-boolean

Toggle the disabled state for the component.

itemKey-number, string

Item key.

CTabContent

jsx
import { CTabContent } from '@coreui/vue-pro'
PropertyDefaultType

CTabList

jsx
import { CTabList } from '@coreui/vue-pro'
PropertyDefaultType
layout-string

Specify a layout type for component.

variant-string

Set the nav variant to tabs or pills.

CTabPanel

jsx
import { CTabPanel } from '@coreui/vue-pro'

Props

PropertyDefaultType
itemKey-number, string

Item key.

transitiontrueboolean

Enable fade in and fade out transition.

visiblefalseboolean

Toggle the visibility of component.

Events

Event name
hide

Callback fired when the component requests to be hidden.

show

Callback fired when the component requests to be shown.

CTabs

jsx
import { CTabs } from '@coreui/vue-pro'

Props

PropertyDefaultType
activeItemKey-number, string

The active item key.

Events

Event name
change

The callback is fired when the active tab changes.