| page_sidebar | R Documentation |
Similar to bslib::page_sidebar(), this creates a layout with a sidebar
panel and main content area — the easiest way to build a standard Calcite
app layout. Pass a calcite_panel() as sidebar; it will be wrapped in a
calcite_shell_panel() automatically.
page_sidebar(
...,
sidebar = NULL,
title = NULL,
position = c("start", "end"),
width = c("m", "s", "l"),
display_mode = c("dock", "overlay", "float-content", "float-all"),
footer = NULL
)
... |
Main content area (typically a |
sidebar |
A |
title |
Optional application title shown in a navigation header. |
position |
Position of sidebar: |
width |
Width of the sidebar: |
display_mode |
Display mode for the shell panel: |
footer |
Optional footer content |
An object of class calcite_component containing a configured shell
page_sidebar(
title = "Data Explorer",
sidebar = calcite_panel(
heading = "Filters",
calcite_block(
heading = "Options",
collapsible = TRUE,
expanded = TRUE
)
),
calcite_panel(heading = "Results")
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.