container: Container

Description Usage Arguments Examples

View source: R/container.R

Description

Functional component for creating a new app container. Use page_ui, to define individual pages.

Usage

1

Arguments

...

Shiny UI content

class

optional css classes to apply to the container

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
if (interactive()) {
  library(shiny)
  library(iceComponents)
  ui <- tagList(
    use_iceComponents(),
    container(
      class = "dark-theme",
      tags$h1("My Application")
    )
  )
  server <- function(input, output, session) {
  }
  shinyApp(ui, server)
}

InControlofEffects/iceComponents documentation built on April 1, 2021, 5:51 a.m.