# NOT RUN {
if(interactive()){
library(shiny)
library(shinyMobile)
shiny::shinyApp(
ui = f7Page(
title = "Icons",
init = f7Init(theme = "light", skin = "ios"),
f7SingleLayout(
navbar = f7Navbar(title = "icons"),
f7List(
f7ListItem(
title = tagList(
f7Icon("envelope")
)
),
f7ListItem(
title = tagList(
f7Icon("envelope_fill", color = "green")
)
),
f7ListItem(
title = f7Icon("home", f7Badge("1", color = "red"))
),
f7ListItem(
title = f7Icon("email_fill", lib = "md"),
"This will not appear since only for material design"
)
)
)
),
server = function(input, output) {}
)
}
# }
Run the code above in your browser using DataLab