Here is the code structure for the ui.R document that defines what you see in this APP.
fluidPage(
headerPanel("Stupid Shiny APP - Useless word analysis"),
sidebarLayout(
sidebarPanel(helpText("bla bla bla"),
helpText("(1) Pick a word"),
helpText("(2) Define the number of tweets you want to analyze"),
helpText("(3) Push the button and enjoy the USELESS"),
textInput(inputId = "UserOrHashtag",
label = "Twitter User or Hashtag:",
value = "Roma"),
sliderInput("Ntweets", "Maximum number of tweets to capture:",
min=250, max= 5000, value=500, step = 1),
submitButton("Update View", icon = icon("refresh")),
width = 3),
mainPanel(
tabsetPanel(
tabPanel("Boxplot de kk",plotlyOutput("P1")),
tabPanel("Miermap",leafletOutput("M1")),
tabPanel("Tweets and go home",tableOutput("T1"))
))))