A lightweight Tailwind + Leaflet component kit. Drop it on top of any qgis2web export and get a polished header, layer panel, popup, legend — and 25 more — for free.
# 1. Install npm install q2w # 2. Drop into your qgis2web export's index.html <link rel="stylesheet" href="q2w/dist/q2w.css"> # 3. Add a header — that's it <div class="q2w-header"> ... </div>
30+ pre-styled components. Click any preview to see usage and copy code.
qgis2web ships a working Leaflet map in seconds — but the layer control, popup, and chrome haven't really changed in years. Most teams end up rewriting them from scratch on every project.
q2w fixes that once. Pre-styled components, a coherent token system, dark mode, and themes — all in a CSS file you drop in alongside the export.
Inspired by mapcn, but focused on Leaflet (because qgis2web exports there) and on the thematic-map use cases QGIS users actually build.
Open and public. Suggestions and PRs welcome.