# Simple example
library(shiny)
library(shinyWidgets)
ui <- fluidPage(
pickerInput(inputId = "somevalue",
label = "A label",
choices = c("a", "b", "c"),
options = list(`actions-box` = TRUE),
multiple = T),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderPrint({ input$somevalue })
}
shinyApp(ui, server)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.