Sheet
Mobile-first bottom sheet for selected features and compact workflows.
Preview
Selected zone
value1.2M
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-sheet"> Sheet content </div>
Variants
| Pattern | Effect |
|---|---|
.q2w-sheet | Default component shell |
.q2w-sheet--compact | Denser layout for small maps |
.q2w-sheet--floating | Floating map overlay style |
data-theme="dark" | Uses dark theme tokens automatically |
Sub-elements
| Class | Purpose |
|---|---|
.q2w-sheet | Root element for the sheet component |
.q2w-sheet__head | Optional header/title region |
.q2w-sheet__body | Main component content region |
.q2w-sheet__actions | Optional action group |