titlePanel2 | R Documentation |
Create an alternative title bar
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"
)
title |
title of the tab |
rightContent |
content of the right |
windowTitle |
window title |
text.col |
text color |
bg.col |
background color |
An list containing the title and content of a header or footer
if (interactive()) {
titlePanel2("Main title", "Right content | About me")
titlePanel2("Main title", action)
}
if (interactive()) {
footerPanel("Main footer @ 2024. All rights reserved", "Contact us")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.