ui.page_fillable

ui.page_fillable(
    *args
    padding=None
    gap=None
    fillable_mobile=False
    title=None
    lang=None
    theme=None
    **kwargs
)

Create a fillable page.

Parameters

*args : TagChild | TagAttrs = ()

UI elements.

padding : Optional[CssUnit | list[CssUnit]] = None

Padding to use for the body. See as_css_padding for more details.

fillable_mobile : bool = False

Whether or not the page should fill the viewport’s height on mobile devices (i.e., narrow windows).

gap : Optional[CssUnit] = None

A CSS length unit passed through as_css_unit defining the gap (i.e., spacing) between elements provided to *args.

title : Optional[str] = None

The browser window title (defaults to the host URL of the page). Can also be set as a side effect via panel_title.

lang : Optional[str] = None

ISO 639-1 language code for the HTML page, such as "en" or "ko". This will be used as the lang in the <html> tag, as in <html lang="en">. The default, None, results in an empty string.

theme : Optional[str | Path | Theme | ThemeProvider] = None

A custom Shiny theme created using the Theme class, or a path to a local or online CSS file that will replace the Bootstrap CSS bundled by default with a Shiny app. This file should be a complete bootstrap.css or bootstrap.min.css file. For advanced uses, you can also pass a Tagifiable object. In this case, Shiny will suppress the default Bootstrap CSS. To modify the theme of an app without replacing the Bootstrap CSS entirely, use include_css to add custom CSS.

Returns

: Tag

A UI element.

See Also