Skip to content

Header

A container component that typically contains the main navigation elements.

Fields

NameTypeDescriptionOptions
TextText
AccentColor
EmptinessColorPage background color
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.Header(content={
        "text": "", # str 
        "accentColor": "", # str 
        "emptinessColor": "", # str 
        "cssClasses": "", # str 
    }
)

Reference