Tab Container - Writer AI Studio

Fields

Name Type Description Options
Accent Color - -
Primary text Color - -
Secondary text Color - -
Container background Color - -
Container shadow Shadow - -
Separator Color - -
Button Color - -
Button text Color - -
Button shadow Shadow - -
Custom CSS classes Text CSS classes, separated by spaces. You can define classes in custom stylesheets. -

Events

wf-tab-change

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