Tabs

Use tabs to allow users to navigate easily between views within the same context.

Color

Set the color of the tab.

TypeDefault Value
stringgray
<NVTabs Margin=". . 6">
   <NVButton IsActive>Button </NVButton>
   <NVButton>Button </NVButton>
   <NVButton>Button </NVButton>
</NVTabs>

<NVTabs Margin=". . 6" Color="primary">
   <NVButton IsActive>Button </NVButton>
   <NVButton>Button </NVButton>
   <NVButton>Button </NVButton>
</NVTabs>

<NVTabs Color="secondary">
   <NVButton IsActive>Button </NVButton>
   <NVButton>Button </NVButton>
   <NVButton>Button </NVButton>
</NVTabs>

Divider

Display a tabs divider.

TypeDefault Value
boolfalse
<NVTabs Divider>
   <NVButton IsActive>tab </NVButton>
   <NVButton>Panel </NVButton>
   <NVButton>Panel </NVButton>
</NVTabs>

Flex

Say to the tabs to be flex (share the width of tabs between children).

TypeDefault Value
boolfalse
<NVTabs Flex>
   <NVButton IsActive>tab </NVButton>
   <NVButton>Panel </NVButton>
   <NVButton>Panel </NVButton>
</NVTabs>

Level

Set the level of tne tabs.

TypeDefault Value
boolfalse
<NVTabs Level="1" MB="6">
   <NVButton IsActive>tab </NVButton>
   <NVButton>Panel </NVButton>
   <NVButton>Panel </NVButton>
</NVTabs>

<NVTabs Level="2">
   <NVButton IsActive>tab </NVButton>
   <NVButton>Panel </NVButton>
   <NVButton>Panel </NVButton>
</NVTabs>