diff --git a/src/ui/popup.js b/src/ui/popup.js
index 8acb87e2192..b2803888863 100644
--- a/src/ui/popup.js
+++ b/src/ui/popup.js
@@ -293,6 +293,15 @@ export default class Popup extends Evented {
*
* @param html A string representing HTML content for the popup.
* @returns {Popup} `this`
+ * @example
+ * var popup = new mapboxgl.Popup()
+ * .setLngLat(e.lngLat)
+ * .setHTML("
Hello World!
")
+ * .addTo(map);
+ * @see [Display a popup](https://docs.mapbox.com/mapbox-gl-js/example/popup/)
+ * @see [Display a popup on hover](https://docs.mapbox.com/mapbox-gl-js/example/popup-on-hover/)
+ * @see [Display a popup on click](https://docs.mapbox.com/mapbox-gl-js/example/popup-on-click/)
+ * @see [Attach a popup to a marker instance](https://docs.mapbox.com/mapbox-gl-js/example/set-popup/)
*/
setHTML(html: string) {
const frag = window.document.createDocumentFragment();