Knit UI
GitHub

Playground

Loading playground…

Playground
<Map
  mapStyle={asStyle(voyagerStyle)}
/>

Examples

Voyager

Carto Voyager — a balanced, colourful basemap.

Loading example…

VoyagerSourceStorybook

Positron

Carto Positron — a light, low-contrast basemap good for overlays.

Loading example…

PositronSourceStorybook

Dark Matter

Carto Dark Matter — a dark counterpart to Positron.

Loading example…

Dark MatterSourceStorybook

Klokantech Basic

Klokantech Basic — a plain street-level reference basemap.

Loading example…

Klokantech BasicSourceStorybook

Osm Liberty

OSM Liberty — a vivid OpenStreetMap-derived street style.

Loading example…

Osm LibertySourceStorybook

Osm Liberty Custom

A customised variant of OSM Liberty.

Loading example…

Osm Liberty CustomSourceStorybook

Yoda Light

Yoda Light — a soft, light themed basemap.

Loading example…

Yoda LightSourceStorybook

Yoda Dark

Yoda Dark — a dark themed basemap.

Loading example…

Yoda DarkSourceStorybook

Zoomstack Night

OS Zoomstack Night — a dark, night-oriented basemap.

Loading example…

Zoomstack NightSourceStorybook

Style Switcher

Switch the active basemap with the mapStyle select control in the Controls panel. Each option maps to one of the nine bundled styles.

Loading example…

Style SwitcherSourceStorybook

Props

Not yet generated

Prop extraction did not resolve this component. Run pnpm docs:generate, or add an override in apps/docs/content/overrides/.