Shiny generates HTML code

shiny::h1("Hello world") |> message()
## <h1>Hello world</h1>
  • We just made HTML from R.

  • Being able to generate HTML code from R allows the developer to remain focused on the main task.

Shiny apps can be deeply customized with

  • Custom HTML (for content)
  • Custom CSS (for styling)
  • Custom JavaScript (for interactivitiy)
  • … and make use of many templates and packages that are already written