UIkit text input for shiny

ukTextInput(inputId, label = NULL, value = "", placeholder = NULL,
  width = NULL)

Arguments

inputId

character. The input identifider used to access the value.

label

character. Input label.

value

Initial value.

placeholder

character. Input placeholder.

width

character. Input UI width.

Examples

# NOT RUN {
library(shiny)
shinyApp(
  ui = ukPage(
   tags$h1("Hello UIkit"),
   ukTextInput("txt", label = "Input text", placeholder = "Type here"),
   verbatimTextOutput("default")
  ),
  server = function(input, output) {
    output$default <- renderText({ input$txt })
  }
)
# }