Overview

A part of a tabbed interface that displays content associated with the active tab. It is meant to be used together with KTabsList. Please study KTabsList page to understand how to use KTabsPanel.

Related

  • Tabs page has an overview and usage guidance for all tab-related components
  • KTabsList is a component to be used together with KTabsPanel and contains detailed guidance on using both these components
  • KTabs is an alternative way to implement tabs

Props

Name Description Type Default Required
tabsId
An ID of a tabbed interface that this component is part of. Needs to be be unique in regards to all tabbed interfaces rendered on one page.
string true
activeTabId
An ID of an active tab.
string true

Slots

Name Description
default
An alternative to using slots named by tabs' IDs.
[activeTabId]
Slots named by tab's IDs. Only content corresponding to the active tab is displayed.