library(shiny)

ui <- fluidPage(
  titlePanel("Hello from Vanilla Shiny-Verse!"),
  sidebarLayout(
    sidebarPanel(
      sliderInput("obs", "Number of observations:", min = 10, max = 500, value = 50)
    ),
    mainPanel(
      plotOutput("distPlot")
    )
  )
)

server <- function(input, output) {
  output$distPlot <- renderPlot({
    hist(rnorm(input$obs), col = 'steelblue', border = 'white')
  })
}

shinyApp(ui = ui, server = server)
