TabNav
UX
View Source
A responsive tab navigation component with support for desktop and mobile. Intended to be used in Resource Headers only.
Resource header content
Rest of page
Resource header content
Rest of page (with non-white background)
Controlled Tab Nav
First tab content
Props
Themeable
Use the tabNav
key in ThemeProvider
to customize the default properties of this component.
The background color of the selected tab.
tabs
Array
The tabs to display. Tabs accept all the same props as TabNav.Tab
.