page_navbar | R Documentation |
Adds a bar at the top of the page, potentially with a title and logo image.
page_navbar(..., title = "", logo = "", breakpoint = "md",
logo.height = "24px", logo.width = "24px")
... |
Content to add to the navbar. Can be lists specifying submenus and their items.
Each list can have entries for |
title |
A title to appear in the header. |
logo |
URL of an image to appear in the header. |
breakpoint |
Bootstrap breakpoint code specifying the width at which the menu collapses;
default is |
logo.height |
Character or number setting the height of the logo. |
logo.width |
Character or number setting the width of the logo. |
A character vector of the content to be added.
page_navbar(
title = "Site Name",
list(
name = "menu",
title = "Menu",
items = list(input_select("menu select", c("a", "b")))
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.