Document Title

The DocumentTitle component sets the browser tab to the given string.

In multi-page applications in each page can have it's own DocumentTitle component.

1
2
3
4
5
6
7
8
from reactpy import component

from reactpy_utils import DocumentTitle


@component
def App():
    return DocumentTitle("My Website")

Last update: November 21, 2024
Authors: Steve Jones