How can I increase the size of the icon()
in a shiny
app
library(shiny)
ui <- fluidPage(
tags$head(
tags$link(rel = "stylesheet", type = "text/css", href = "styles.css")
),
# Rest of your UI code
icon("square_check", class = "fa") # Apply the "fa" class to the icon
# ...
)
server <- function(input, output) {
# Server code
# ...
}
shinyApp(ui, server)
You can try
icon("square_check", class = "fa", style = "font-size: 30px;")