Skip to content

Window Title

A window title sets the title of the browser tab. It renders nothing visible, so place it anywhere in your view. The headings H1 and Heading(1, ...) set the window title automatically.

return VStack(
	WindowTitle("Orders"),
	Text("All your orders"),
)

Constructors

ConstructorDescription
WindowTitle(title string) TWindowTitleCreates a new TWindowTitle with the given title text.

Methods

MethodDescription
Title(title string) TWindowTitleChanges the title text.

Related