progressInput: Create simple progress bar

View source: R/misc.R

progressInputR Documentation

Create simple progress bar

Description

Create a progress bar within card container

Usage

progressInput(
  id,
  label = "",
  value = "35%",
  outer.value = value,
  color = color.choice,
  vertical = FALSE,
  size = c("m", "s", "l"),
  striped = FALSE
)

Arguments

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

Value

an HTML content to display a progress bar

Examples

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")
}

card.pro documentation built on April 3, 2025, 10:31 p.m.