Change font size of valueBox - shiny R

0 votes
How do I reduce the font size of texts in valueBox?
Dec 4, 2018 in Data Analytics by Ali
• 10,430 points
1,438 views

1 answer to this question.

0 votes

Try writing your valueBox with this syntax:

valueBox(
    value = tags$p("100", style = "font-size: 200%;"),
    subtitle = tags$p("Blah blah blah", style = "font-size: 200%;"),
    icon = icon("car fa-2x")
  ),
answered Dec 4, 2018 by Haseeb

Related Questions In Data Analytics

0 votes
1 answer

How to change font size of text and axes on R plots ?

To change the font size of text, ...READ MORE

answered Apr 20, 2018 in Data Analytics by zombie
• 3,690 points
64 views
0 votes
1 answer

How can I change font size and direction of axes text in ggplot2 ?

You can try theme(): Library(ggplot2) a <- data.frame(x=gl(10, 1, ...READ MORE

answered May 30, 2018 in Data Analytics by zombie
• 3,690 points
414 views
0 votes
1 answer
0 votes
1 answer

How can I control the size of points in an R scatterplot?

plot(variable, type='o' , pch=5, cex=.3) The pch argument ...READ MORE

answered May 3, 2018 in Data Analytics by shams
• 3,580 points
34 views
0 votes
1 answer

Error saying "could not find function "shinyUI"" in shiny R

Its a small spelling mistake that you've ...READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,040 points
394 views
0 votes
1 answer

Error saying "could not find function dashboardPage" in shiny R

Include this line in the code: Library(shinydashboard) READ MORE

answered Nov 28, 2018 in Data Analytics by Maverick
• 10,040 points
228 views
0 votes
1 answer

How to reduce the height of valueBox in shiny R?

Add this line before using your vlaueBoxes tags$head(tags$style(HTML(".small-box ...READ MORE

answered Dec 4, 2018 in Data Analytics by Haseeb
369 views
0 votes
2 answers

Change data type of one column in R

You can change data types using as.* ...READ MORE

answered Aug 16 in Data Analytics by anonymous
• 26,020 points
88 views