ionicon | R Documentation |
Create a ionicon.
ionicon(name)
name |
Name of icon. See https://ionic.io/ionicons/. |
Similar to the icon function from shiny.
David Granjon, dgranjon@ymail.com
if(interactive()){
library(shiny)
library(bs4Dash)
shinyApp(
ui = dashboardPage(
header = dashboardHeader(),
sidebar = dashboardSidebar(),
controlbar = dashboardControlbar(),
footer = dashboardFooter(),
title = "Ionicons",
body = dashboardBody(
ionicon(name ="heart"),
ionicon(name ="beer")
)
),
server = function(input, output) {}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.