---
title: "<ScriptMapLibrePopup>"
description: "Renders slotted HTML in a MapLibre Popup. Nest it inside a marker, or pass position for a standalone popup. Use the reactive open prop to control visibility."
canonical_url: "https://scripts.nuxt.com/scripts/maplibre/api/popup"
last_updated: "2026-08-11T04:27:01.901Z"
---

Renders slotted HTML in a MapLibre `Popup`. Nest it inside a marker, or pass `position` for a standalone popup. Use the reactive `open` prop to control visibility.

`new maplibregl.Popup()` reads the `options` object at creation time. Options backed by MapLibre public setters also update reactively: `className`, `maxWidth`, `offset`, `padding`, and `subpixelPositioning`. Other options are initialization-only.

<script-types filter="ScriptMapLibrePopup" script-key="maplibre">



</script-types>
