.q2w-sidebar

Sidebar

Persistent side panel for dashboards, filters, and map summaries.

Preview

Dashboard
zones24
avg720k

Usage

Use this component inside a qgis2web Leaflet export after loading q2w-mapcss.css. Keep generated map JavaScript unchanged unless your workflow needs custom behavior.

<div class="q2w-sidebar">
  Sidebar content
</div>

Variants

PatternEffect
.q2w-sidebarDefault component shell
.q2w-sidebar--compactDenser layout for small maps
.q2w-sidebar--floatingFloating map overlay style
data-theme="dark"Uses dark theme tokens automatically

Sub-elements

ClassPurpose
.q2w-sidebarRoot element for the sidebar component
.q2w-sidebar__headOptional header/title region
.q2w-sidebar__bodyMain component content region
.q2w-sidebar__actionsOptional action group
← Footer Sheet →