Skip to contents

The page() is a container component that holds one whole screen of an application. The page has three distinct areas that can hold content - a header, content area and a footer.

See the official documention for page, for all the correct props.

Examples

page(
  h1("Hello")
)
page(
  compact = TRUE,
  h1("Hello")
)

Note that you can use the css argument to pass the output of css(), see ?css, and the variables

page(
  compact = TRUE,
  css = css(
    brandColor = "red",
    button_TextColor = "red",
    button_Background = "red"
  ),
  h1("Hello")
)