Skip to content

Tab

A container component that displays its child components as a tab inside a Tab Container.

Fields

NameTypeDescriptionOptions
NameText
PaddingPadding
Content alignment (H)Align (H)
Custom CSS classesTextCSS classes, separated by spaces. You can define classes in custom stylesheets.

Low code usage

This component can be declared directly in Python, using backend-driven UI.

python
ui.Tab(content={
        "name": "", # str 
        "contentPadding": "", # str 
        "contentHAlign": "", # str 
        "cssClasses": "", # str 
    }
)

Reference