Description Usage Arguments Examples
Create a side-by-side label
1 |
label |
A text to display |
width |
The width of the input in pixel |
bg |
The color of text |
... |
arguments to be passed to label |
1 2 3 4 5 6 7 8 9 10 11 12 13 | library(shiny)
# Only run examples in interactive R sessions
if (interactive()) {
ui <- fluidPage(
label3("Welcome"),
checkboxInput3("somevalue", "Some value", FALSE),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$somevalue })
}
shinyApp(ui, server)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.