Implements Material Design Web Component: TopAppBar

The top app bar provides content and actions related to the current screen. It’s used for branding, screen titles, navigation, and actions.

There are two types of top app bar: 1. Regular top app bar 2. Contextual action bar

See: https://material-components.github.io/material-components-web-catalog/#/component/top-app-bar

class materialweb.tags.top_appbar.TopAppBar(*args, **kwargs)

TopAppBar component.

property template

Get formatted literal string for different types of TopAppBar.

Overridden because the templates are the same.

class materialweb.tags.top_appbar.LeftSection(*args, **kwargs)

TopAppBar left section

class materialweb.tags.top_appbar.Menu(*args, **kwargs)

TopAppBar navigation button

class materialweb.tags.top_appbar.Title(*args, **kwargs)

TopAppBar title

class materialweb.tags.top_appbar.RightSection(*args, **kwargs)

TopAppBar left section