README.md

titanicon

Travis build status

Brings Titanic animated icons to Shiny and Rmarkdown.

Installation

# install.packages("remotes")
remotes::install_github("johncoene/titanicon")

Example

Browse all icons with:

titanicon::titanicon_demo()

Below is a self-explanatory example.

library(shiny)
library(titanicon)

ui <- fluidPage(
  use_titanicon(), # imports dependencies
  titanicon_theme(style = "height:100px;"), # applies to all subsequent icons
  titanicon("idea"),
  titanicon("mic"),
  titanicon_opts(click = FALSE) # options
)

server <- function(input, output){}

shinyApp(ui, server)


JohnCoene/titanicon documentation built on Oct. 30, 2019, 7:57 p.m.