UIkitTile: Create an UIkit tile

Description Usage Arguments Author(s) Examples

View source: R/UIkitTile.R

Description

Create layout boxes with different backgrounds that can be arranged seamlessly next to each other

Usage

1
UIkitTile(..., style = NULL, padding = NULL)

Arguments

...

Any element.

style

Tile style: "muted", "primary" or "secondary". NULL by default.

padding

Apply different spacing. NULL by default. Choose "remove", "small" or "large".

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
if(interactive()){
library(shiny)

shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitGrid(
    child_width = "1-6",
    UIkitTile("Default"),
    UIkitTile(style = "muted", "Muted"),
    UIkitTile(style = "primary", "Primary"),
    UIkitTile(style = "secondary", "Secondary"),
    UIkitTile(style = "primary", padding = "large", "Primary Large")
   )
 ),
 server = function(input, output) {}
 )
}

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