KQ-468 · LANTERN/SWAY

Lantern Sway

A lantern swinging above the interface: its light sways slowly, and the shadows of the page's own elements — cast from the texture's ink — stretch and swing the other way. The page never moves; only its light does.

KQ-468 · LANTERN/SWAY

Coldbrook · the locker ledger

Logged under one hanging lamp.

The locker room runs one lantern on a hook after hours, and it never holds still — the draft off the compressors keeps it swinging, so every entry in the ledger throws a shadow that slides back and forth with it.

LockerContentsTempState
C-2Culture trays-24.1°cleared
C-6Serum batch 9-18.0°watch
C-9Tissue block-79.8°cleared
23:40 · night shift

the shadows move with the lamp

Install

One command — the source lands in your repo. Or copy it from the Code tab.

$ pnpm dlx shadcn@latest add @kinetiq/lantern-sway

Props

PropTypeDefaultDescription
period / swing / heightnumberSeconds per sway, the swing's width in px, and the lamp's height in px.
shadow / warmthnumber · stringShadow strength and the light's tint.