navbar_menu {tabler}R Documentation

Build a standard navbar/header

Description

Create the top header used in boxed layout. This function accepts raw 'li' items (created by 'menu_item') or a 'sidebar_brand()' attached as 'title' attribute on a 'ul'.

Usage

navbar_menu(..., brand = NULL, show_theme_button = FALSE)

Arguments

... Additional nodes to include (typically 'menu_item()' elements)
brand Optional brand for the navbar; either a string (text title), 'sidebar_brand(...)' or a named list with elements 'text' and 'img' (URL/path).
show_theme_button Whether to show the theme toggle buttons (default: 'FALSE“).

Value

An HTML tag for the header

Loading...