Skip to main content
A container component for organising and displaying Tab components in a tabbed interface.

Fields

NameTypeDescriptionOptions
AccentColor--
Primary textColor--
Secondary textColor--
Container backgroundColor--
Container shadowShadow--
SeparatorColor--
ButtonColor--
Button textColor--
Button shadowShadow--
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.-

Events

Sent when the active tab changes.
def tab_change_handler(state, payload):

# The payload contains the name of the newly activated tab

state["active_tab"] = payload