UIkitIcon: Create an UIkit icon

Description Usage Arguments Author(s) Examples

View source: R/UIkitIcon.R

Description

Place scalable vector icons anywhere in your content

Usage

1
UIkitIcon(icon, ratio = NULL, button = FALSE)

Arguments

icon

Icon name. See https://getuikit.com/docs/icon#library for the full list.

ratio

Icon ratio compared to the normal value. 2 means twice bigger than the base case.

button

Whether to wrap the icon in a button.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
if(interactive()){
library(shiny)

shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitIcon("paint-bucket"),
   UIkitIcon("home", ratio = 2),
   UIkitIcon("twitter", button = TRUE)
 ),
 server = function(input, output) {}
 )
}

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