express.ui.panel_title
express.ui.panel_title(title, window_title=MISSING)Create title(s) for the application.
Parameters
- 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. 
Returns
- : TagList
- 
A UI element. 
Note
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).
Examples
#| '!! shinylive warning !!': |
#|   shinylive does not work in self-contained HTML documents.
#|   Please set `embed-resources: false` in your metadata.
#| standalone: true
#| components: [editor, viewer]
#| layout: vertical
#| viewerHeight: 400
## file: app.py
from shiny.express import ui
ui.panel_title("Page title", "Window title")