3.1 Introduction

  • Shiny creates HTML code for us, it is not enough to design a beautiful working app with user interactions.

  • All modern websites and apps have a lot of CSS and JavaScript under the hood.

library(shiny)
ui <- fluidPage(
  p("Hello World")
)

server <- function(input, output) {
  
}
shinyApp(ui, server)

According to the head section, Shiny has three main dependencies:

  • jQuery.

  • shiny (custom JavaScript and CSS).

  • Bootstrap (JavaScript and CSS).