progressInput | R Documentation |
Create a progress bar within card container
progressInput(
id,
label = "",
value = "35%",
outer.value = value,
color = color.choice,
vertical = FALSE,
size = c("m", "s", "l"),
striped = FALSE
)
id |
id of the container |
label |
title of the progress bar |
value |
value of the progress bar in percent |
outer.value |
value shown next to title |
color |
color of the progress bar |
vertical |
if the progress bar should be vertical or horizontal |
size |
size of progress bar |
striped |
whether to show the progressed bar background as striped |
an HTML content to display a progress bar
if (interactive()) {
library(shiny)
library(card.pro)
# Without much modification of defaults
progressInput(id="id1")
# Set color and value
progressInput(id="id1", value = "90%", color = "green")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.