page_navbar: Create a Shell with Navigation Bar Layout

View source: R/shell.R

page_navbarR Documentation

Description

A convenience function for creating a simple layout with a navigation header and main content area. This is ideal for dashboard-style applications.

Usage

page_navbar(..., title = NULL, logo = NULL, nav_actions = NULL, footer = NULL)

Arguments

...

Main content area

title

Application title shown in the navigation header

Optional logo component for the navigation

nav_actions

Optional actions for the navigation bar (placed in content-end)

footer

Optional footer content

Value

An object of class calcite_component containing a configured shell

Examples

page_navbar(
  title = "My Dashboard",
  nav_actions = list(
    calcite_action(icon = "gear", text = "Settings"),
    calcite_action(icon = "sign-out", text = "Logout")
  ),
  "Dashboard content here"
)

calcite documentation built on March 3, 2026, 5:07 p.m.