Create a Shell with Sidebar Panel Layout
page_sidebar.RdSimilar to bslib::page_sidebar(), this creates a layout with a sidebar panel
and main content area. The sidebar can be positioned on the left or right.
Examples
page_sidebar(
title = "Data Explorer",
sidebar = calcite_panel(
heading = "Filters",
"Filter controls here"
),
"Main data view here"
)
#> <calcite-shell>
#> Main data view here
#> <calcite-navigation slot="header">
#> <calcite-navigation-logo slot="logo" heading="Data Explorer"></calcite-navigation-logo>
#> </calcite-navigation>
#> <calcite-shell-panel position="start" width="m" slot="panel-start">
#> <calcite-panel heading="Filters">Filter controls here</calcite-panel>
#> </calcite-shell-panel>
#> </calcite-shell>