UIkitContainer: Create an UIkit container

Description Usage Arguments Author(s) Examples

View source: R/UIkitContainer.R

Description

Build a container to align and center page content.

Usage

1

Arguments

...

Any UI element.

size

Container size: "small", "large" or "expand".

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
if(interactive()){
library(shiny)

shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitContainer(
    UIkitCard(
     title = "My card",
     badge = "test",
     hover = TRUE,
     horizontal = TRUE,
     UIkitCardMedia(
      src = "https://getuikit.com/docs/images/light.jpg",
      horizontal = TRUE, 
      position = "left"
     ),
     body = "This is the body"
    )
   )
 ),
 server = function(input, output) {}
 )
}

DivadNojnarg/shinyUIkit documentation built on July 24, 2019, 8:17 a.m.