Tabs

This component is an implementation of a custom tab

Tabs


Tabs


Align, Gap and Width


Direction


Type


Disabled


Bold


Text Size


Start Enhancer and End Enhancer


Width and Height


Tabs Props

NameTypeDefaultRequiredDescription
idstringNoID of the element
defaultValuestringYesthe tab that will be selected by default
directionhorizontal | verticalverticalNoSet direction
typestandard | success | warning | error | disabledstandardNoSet styles depending of the type
borderRadiusstring5pxNoSet border radius
widthstringNoSet width size
heightstringNoSet height size

TabsList Props

NameTypeDefaultRequiredDescription
widthstring100%NoSet width size
justifyContentspace-aroundstart | center | end | space-around | space-betweenNoSet horizontal position
gapstringNoSet separation size between elements

TabsTrigger Props

NameTypeDefaultRequiredDescription
valuestringYesvalue of the element
widthstring100%NoSet width size
textSizestringNoSet text size
textColorstringblackNoSet text color
boldbooleanfalseNoSet text bold
startEnhancerstring | ReactNodeNoSet icon to start
endEnhancerstring | ReactNodeNoSet icon to end
disabledbooleanfalseNoSet disabled mode

TabsContent Props

NameTypeDefaultRequiredDescription
valuestringYesvalue of the element