if (interactive()) {
library(shiny)
library(shinyMobile)
shinyApp(
ui = f7Page(
title = "Icons",
f7SingleLayout(
navbar = f7Navbar(title = "icons"),
f7List(
f7ListItem(
title = tagList(
f7Icon("envelope")
)
),
f7ListItem(
title = tagList(
f7Icon("envelope_fill", color = "green")
)
),
f7ListItem(
title = f7Icon("house", f7Badge("1", color = "red"))
),
f7ListItem(
title = f7Icon("home", lib = "md"),
"Only for material design"
)
)
)
),
server = function(input, output) {}
)
}
Run the code above in your browser using DataLab