R: AdminLTE2 vertical block container

boxPad {shinydashboardPlus} | R Documentation

## AdminLTE2 vertical block container

### Description

Create a vertical container for descriptionBlock.

### Usage

    boxPad(..., color = NULL, style = NULL)

### Arguments

`...` | any element such as descriptionBlock.
`color` | background color: see here for a list of valid colors https://adminlte.io/themes/AdminLTE/pages/UI/general.html.
`style` | custom CSS, if any.

### Author(s)

David Granjon, dgranjon@ymail.com

### Examples

    if (interactive()) {
     library(shiny)
     library(shinydashboard)
     shinyApp(
      ui = dashboardPage(
        dashboardHeader(),
        dashboardSidebar(),
        dashboardBody(
         box(title = "Box with right pad",
          status = "warning",
          fluidRow(
            column(width = 6),
            column(
              width = 6,
              boxPad(
                color = "green",
                descriptionBlock(
                  header = "8390",
                  text = "VISITS",
                  right_border = FALSE,
                  margin_bottom = TRUE
                ),
                descriptionBlock(
                  header = "30%",
                  text = "REFERRALS",
                  right_border = FALSE,
                  margin_bottom = TRUE
                ),
                descriptionBlock(
                  header = "70%",
                  text = "ORGANIC",
                  right_border = FALSE,
                  margin_bottom = FALSE
                )
              )
            )
          )
         )
        ),
        title = "boxPad"
      ),
      server = function(input, output) { }
     )
    }

[Package shinydashboardPlus version 0.6.0 Index]