Highlight Follower

Tabs with animated highlight that follows the active tab.

tabshighlightfolloweranimated

Props

Customize the component with these props

PropertyTypeDefaultDescription
tabs
TabItem[][{id: '1', label: 'Home'}, ...]Array of tab items with id and label.
defaultActive
stringtabs[0]?.idID of the initially active tab.
backgroundColor
stringtransparentBackground color of the component (hex, rgb, or hsl).
containerBgColor
string#f4f4f5Background color of the container (hex, rgb, or hsl).
containerPadding
string0.25remPadding of the container (CSS value).
containerBorderRadius
string9999pxBorder radius of the container (CSS value).
activeIndicatorBgColor
string#ffffffBackground color of the active indicator (hex, rgb, or hsl).
activeIndicatorShadowColor
stringrgba(0,0,0,0.05)Shadow color of the active indicator (hex, rgb, or hsl).
activeTextColor
string#000000Text color of active tabs (hex, rgb, or hsl).
inactiveTextColor
string#52525bText color of inactive tabs (hex, rgb, or hsl).
hoverTextColor
string#000000Text color of tabs on hover (hex, rgb, or hsl).
buttonPadding
string0.5rem 1.5remPadding of tab buttons (CSS value).
fontSize
string0.875remFont size of tab labels (CSS value).
fontWeight
string500Font weight of tab labels (CSS value).
Highlight Follower - Uilora Tabs