Nighthawk

Tabs

Preview

Content for Tab 1

Demo code

Tabs inputs

OptionTypeDefault valuePossible values
activeTabButtonColorenumprimaryprimary/secondary/black/white/transparent
inactiveTabButtonColorenumblackprimary/secondary/black/white/transparent
tabsButtonRoundedbooleantruetrue/false
tabsButtonBorderbooleantruetrue/false
tabsButtonSizeenummediumlarge/medium/small
plainTabsContentbooleanfalsetrue/false

Tab inputs

OptionTypeDefault valuePossible values
tabLabelstring-any string
activebooleanfalsetrue/false

Tabs outputs

EventTypeValue
onSelectTabnumberSelected tab index

Style Variables