One classic <script> exposes window.VexyStax. ← all demos
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vexy-stax.global.js"></script> — these pages load the co-located local bundle, but the same code works verbatim from jsDelivr.<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vexy-stax.global.js"></script>
<div id="stage"></div>
<script>
VexyStax.create(stage, {
slides: [
"airbl-lores/airbl-020-source.png",
"airbl-lores/airbl-030-pink.png",
"airbl-lores/airbl-040-stars.png",
"airbl-lores/airbl-050-backdrop.png",
],
view: "compact",
mode: "playable",
}).then(function (stax) {
console.log("ready", stax.scene.slides.length);
});
</script>