Site navigation

Interaction Sandbox

Interaction Sandbox

Hover preview (no pin)

Hover the word lantern
to see the word-meaning card. Move away and it closes on its own — nothing
pinned yet.

Click to pin

Hover, then click, nigredo
to pin the card open. Click the same word again to unpin, or click anywhere
else on the page to dismiss it.

Pinned card with a deeper door

albedo
carries a door: pin it (click) and a “\u2192 open” link appears at the
bottom of the card, pointing at /cauda-pavonis. That’s the
payload|door_href grammar — same trailing-pipe syntax works from
data-ix-href on hand-authored chrome too.

Click-trigger (no hover step)

click-only
uses trigger:click instead of trigger:hover. Hovering it does nothing;
the first click both opens and pins directly.

compact
uses data-ix-profile="compact" for terse labels and UI hints.

reliquary
uses data-ix-profile="reliquary" for a more ceremonial default skin.

Reveal — pull existing DOM into the card

hover to reveal the hidden panel

Real chrome, not just prose

Nav pills across the whole site already carry data-ix="hover:preview:…"
sourced from src/data/site_nav.js — hover Cauda Pavonis/Citrinitas/Rubedo
in the navbar (desktop or mobile) to see the same engine driving real UI,
not just this sandbox.

Fetch — live content, cache-conscious, idle-preloaded

hover to fetch cauda pavonis’s live lead paragraph

This one hits the network — hover:fetch:/cauda-pavonis with data-ix-select
pulling just .sol__page_hero p:first-of-type out of the real, live
/cauda-pavonis page response, not a hand-written blurb. Two things happening
underneath so a hover never waits on cold network if it can help it:

  • Cache: every fetched URL is cached for the rest of the page’s
    lifetime (in-memory Map, keyed by URL + selector) — hover this twice
    and the second time is instant, no second request goes out.
  • Preload: the moment this element hydrates, a requestIdleCallback
    (or setTimeout fallback) warms that same cache in the background —
    by the time you actually hover, it’s very often already resolved.

Separately, the site’s htmx-preload extension (vendored today — it was
declared in hx-ext sitewide but the extension file itself didn’t exist
yet) now actually preloads real page navigations too: hover near any nav
pill and the browser starts warming that page’s HTTP cache before you
click, via preload="mouseover" on the nav rail. That’s independent of
this sandbox’s fetch action — it speeds up normal clicking-through, not
the popup previews.