Skip to main content

Tabs

Tabbed content, useful to toggle between content without jumping around the page or across pages.

Basic Tabs

Colors

Active

Basic Tabs

Attributes

Attribute Description
type The color of the tabs
open (boolean) Specify which tab should be selected on load
disabled (boolean) Disable specific tabs to prevent them from opening
header The text that should appear in each tab

Methods

Attribute Description
currentTab() Returns the index of the current tab
openTab(tabIndex: number) Programmatically select a tab to open