Components
Tabs

Tabs

Import

import { VKTabs, VKTab } from "@vivakits/react-components";

Title

Tabs make it covenient to explore and switch between different views.

Tab 1

Orientation

Display tabs horizontally and vertically with orientation .

Tab 1

Color

Tabs component comes with different colors that you can change using the color.

Tab 1

Border Color

Tabs component comes with different colors that you can change using the borderColor.

Tab 1

Seperator Color

Tabs component comes with various separator colors that you can change using the separatorColor.

Tab 1

Size

Tabs component comes with different sizes that you can change using the size.

Tab 1

Disabled

Tab can be set disabled with disabled.

Tab 1

Icon

Each Tab has icon prop to set icon beside tab.

Tab 1

API Reference

AttributeTypeDescriptionDefault
orientationverticalhorizontalDetermines the orientation of tabshorizontal
separatorColorprimarysecondarysuccessdangerwarningdarklightFor the separator color between tabslight
borderColordefaultprimarysecondarysuccessdangerwarningdarklightFor the border color of active tabdefault
colordefaultprimarysecondarysuccessdangerwarningdarklightFor the text color of active tabprimary
sizedefaultxssmmdlgxl2xlDetermines the size of tabs. default
disabledtruefalseDisable specific tabfalse
iconReactNode Place icon inside individual tabs -