# Text input
textInput("name", "Name:",
placeholder = "Enter your name")
# Text area
textAreaInput("comments", "Comments:",
rows = 4, resize = "vertical")
# Password
passwordInput("pwd", "Password:")
# Numeric input
numericInput("age", "Age:",
value = 25, min = 0, max = 120)
# Slider
sliderInput("range", "Range:",
min = 0, max = 100, value = 50)
Access Pattern
input$name
→ Get text value
input$age
→ Get numeric value
input$range
→ Get slider value