Skip to content

Horizontal Stack

A layout component that stacks its child components horizontally, wrapping them to the next row if necessary.

Fields

NameTypeDescriptionOptions
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.HorizontalStack(content={
        "contentPadding": "", # str 
        "contentHAlign": "", # str 
        "cssClasses": "", # str 
    }
)

Reference