Create an alternative title bar
Usage
titlePanel2(
title,
rightContent = NULL,
windowTitle = title,
text.col = "#2a2725",
bg.col = "#ffffff"
)
footerPanel(
title = shiny::HTML("© 2024"),
rightContent = NULL,
bg.col = "#2a2725",
text.col = "#f5f5f5"
)
Arguments
- title
title of the tab
- rightContent
content of the right
- windowTitle
window title
- text.col
text color
- bg.col
background color
Examples
if (interactive()) {
titlePanel2("Main title", "Right content | About me")
titlePanel2("Main title", action)
}
if (interactive()) {
footerPanel("Main footer @ 2024. All rights reserved", "Contact us")
}