navbar_menu: Build a standard navbar/header

View source: R/core.R

navbar_menuR Documentation

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


tabler documentation built on Nov. 5, 2025, 6:05 p.m.