A tab element slotted into an igc-tabs container.

  • Renders the tab's content.

label - Renders the tab header's label.

prefix - Renders the tab header's prefix.

suffix - Renders the tab header's suffix.

tab-header - The header of a single tab.

prefix - Tab header's label prefix.

content - Tab header's label slot container.

suffix - Tab header's label suffix.

tab-body - Holds the body content of a single tab, only the body of the selected tab is visible.

Callable

  • Returns ReactNode

Properties

disabled: boolean

Determines whether the tab is disabled.

label: string

The tab item label.

selected: boolean

Determines whether the tab is selected.