Skip to main content

Getting started

KORTxyz-components are standard webcomponents. So they are all used with basic html code.

  1. Start by referencing the module:
<script 
type="module" 
src="https://cdn.kort.xyz/kortxyz-components@latest/kortxyz-components.esm.js"
/>
  1. Add the web component you need:
<kortxyz-maplibre
 style="height:500px;background: whitesmoke;"
 mapstyle="https://demotiles.maplibre.org/style.json" 
></kortxyz-maplibre>

The result would be something like this:

Updated on Jan 8, 2026