v0.4 · brand-neutral · MIT

Beautiful UI for your qgis2web exports.

A lightweight CSS framework for Leaflet exports, with optional JS interactions, Tailwind tokens, WebGIS templates, and polished map UI components.

terminal · install copy
# 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>
02 · COMPONENTS

Built for thematic maps.

30+ pre-styled components. Click any preview to see usage and copy code.

03 · WHY q2w

qgis2web is great. Its UI isn't.

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.

Vanilla qgis2web
Layer 1
Layer 2
With q2w
Land value90%
Roads100%
Popup
name: Mekarjaya
value: 720000
Popup
Mekarjaya
value720k
04 · ROADMAP

What's next.

Open and public. Suggestions and PRs welcome.

v0.1
Core components, themes, and Leaflet/qgis2web adapters 30+ components, explicit light/dark, and preset themes
shipped
v0.2
Tailwind token plugin CSS variable-backed colors, spacing, radius, and shadows
shipped
v0.3
WebGIS starter templates Basic, layer-panel, and dashboard app shells
shipped
v0.4
Optional JS interactions bundle Modal, toast, tabs, layer binding, coordinate display, and popup helpers
shipped
v0.5
Richer interactive playground and extended demos More browser-tested examples for real qgis2web exports
next
v1.0
Broader ecosystem support beyond current Leaflet/qgis2web focus Adapters and workflows for more export targets
later