Option A: Hydrate on visibility with an Astro Island (Pro)
If your Astro project uses @astrojs/react or @astrojs/vue, import the exported PixelLogoLoader component from the workbench and attach client:visible so it only runs when scrolled into view:
---
import { PixelLogoLoader } from '../components/PixelLogoLoader';
---
<!-- Hydrate only when scrolled into view -->
<PixelLogoLoader client:visible variant="condense" height={340} />
Option B: Zero framework integrations (Free plan)
If you want pure static HTML with no React or Vue runtime in Astro, export the free HTML5 file to public/logo-loader.html and embed it cleanly:
<!-- Zero-JS Astro option using the free HTML5 export in public/logo-loader.html -->
<iframe
src="/logo-loader.html"
title="Brand particle logo"
style="width:100%;height:420px;border:0;border-radius:16px;background:#000;"
loading="lazy"
></iframe>
You can swap between all 9 motion physics by editing the single variant string. See the HTML integration guide for details.