label_hint {shinyGovstyle} | R Documentation |
Label with Hint Function
Description
This function inserts a label and optional hint
Usage
label_hint(inputId, label, hint_input = NULL)
Arguments
inputId |
The input slot that will be used to access the value. |
label |
Display label for the control, or |
hint_input |
Display hint label for the control, or |
Value
a label hint html shiny object
Examples
if (interactive()) {
ui <- fluidPage(
shinyGovstyle::header(
main_text = "Example",
secondary_text = "User Examples",
logo="shinyGovstyle/images/moj_logo.png"),
shinyGovstyle::gov_layout(size = "two-thirds",
label_hint(
inputId = "label1",
label = "This is a label",
hint_input = "This is a hint")
),
shinyGovstyle::footer(full = TRUE)
)
server <- function(input, output, session) {}
shinyApp(ui = ui, server = server)
}
[Package shinyGovstyle version 0.0.8 Index]