UIkitLabel: Create an UIkit label element

Description Usage Arguments Author(s) Examples

View source: R/UIkitLabel.R

Description

Indicate important notes and highlight parts of your content

Usage

1
UIkitLabel(text = NULL, color = NULL)

Arguments

text

Label Text.

color

Label color: "success", "warning", "danger".

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

shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitLabel(
     color = "danger",
     text = "label"
   ),
   UIkitLabel(
     color = "warning",
     text = "label"
   ),
   UIkitLabel(
     color = "success",
     text = "label"
   ),
   UIkitLabel(text = "label")
 ),
 server = function(input, output) {}
 )
}

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