inst/example/browserLinkToInput/ui.R

library(shiny)
library(shinyStorePlus)

ui <- fluidPage(
  #Initialize shinyStorePlus
  initStore(),

  # Application title
  titlePanel("Transfer browser link parameters to shiny input"),
  tags$h3("To see this in action, append this to your browser link: ?data=pressure&name=obinna&num=50&outt=wowowow"),
  # Sidebar with a slider input for number of bins
  selectInput(
    inputId = "datasetbin",
    label = "Choose an option",
    choices = c("rock", "pressure", "cars")
  ),
  textInput(
    inputId = "cd323",
    label = "Choose a name",
    value = "No name"
  ),

  numericInput(
    inputId = "number1",
    label = "Choose a number",
    value = 10
  ),
  htmlOutput("outputnum")
)

Try the shinyStorePlus package in your browser

Any scripts or data that you put into this service are public.

shinyStorePlus documentation built on June 8, 2025, 1:24 p.m.