Create a tile that contains more than one value, icon and text
multi_box(
icons = NULL,
txt = NULL,
values = NULL,
title = NULL,
size = "md",
color = "info",
link = NULL,
number_zoom = 150,
hover = NULL,
...
)
vector of Icons to display, Default: NULL
Optional subtext that should appear under the value
vector of values to display, Default: NULL
Top title, Default: NULL
Optional size specified in the bootstrap css classes: "xs","sm","md","lg")
Optional bootstrap css element that governs the color. https://v4-alpha.getbootstrap.com/utilities/colors/ Choose from: "muted", "primary", "success", "info", "warning", "danger", Default: 'info'
Optional hyperlink to redirect to after a user click, Default: NULL
Optional magnification % for number vs normal text, Default: 150
Optional tooltip, or text that will show up when a user rests their mouse over the tile, Default: NULL
add any other html code here
an HTML object
Allows for each button to contain several icon-number-text descriptions.
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
multi_box(
values = c(21, 45), title = "Important <br>button",
number_zoom = 300, icons = c("apple", "calendar"), color = "warning",
txt = c("times", "reports")
) %>%
finisher(divs = .)
if (FALSE) {
if (interactive()) {
# EXAMPLE1
}
}