ui.panel_title(title, window_title=MISSING)

Create title(s) for the application.


title: str | Tag | TagList

A title to display in the app’s UI.

window_title: str | MISSING_TYPE = MISSING

A title to display on the browser tab.


Type Description
TagList A UI element.


This result of this function causes a side effect of adding a title tag to the head of the document (this is necessary for the browser to display the title in the browser window). You can also specify a page title explicitly using the title parameter of the top-level page function (e.g., page_fluid).


#| standalone: true
#| components: [editor, viewer]
#| layout: vertical
#| viewerHeight: 400

## file: app.py
from shiny import App, Inputs, Outputs, Session, ui

app_ui = ui.page_fluid(ui.panel_title("Page title", "Window title"))

def server(input: Inputs, output: Outputs, session: Session):

app = App(app_ui, server)