Tabs
Live preview and documentation for the Tabs component.
Preview
componentPreview.loading
About
An animated tab bar with an indicator that glides smoothly between the selected tab and the previous one.
variant:primary(default, sliding white pill over a gray container) orsecondary(blue underline with a bottom divider)mode:hug(default, each tab sized to its intrinsic width, scrolls horizontally if it doesn't fit) orfill(each tab shares the available space equally)tabs(short constructor): a list ofString, each one becoming a default tabKasyTabs.items(full constructor): a list ofKasyTabItem, which supportsicon,enabled(disables the tab), andsemanticLabelselectedIndex/onTabSelected: the active index and selection callback
In fill mode with an icon + label, the layout stacks the icon above the text (column) instead of side by side.
Last updated on 08/23/2026

