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.
| Locker | Contents | Temp | State |
|---|---|---|---|
| C-2 | Culture trays | -24.1° | cleared |
| C-6 | Serum batch 9 | -18.0° | watch |
| C-9 | Tissue 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
| Prop | Type | Default | Description |
|---|---|---|---|
| period / swing / height | number | — | Seconds per sway, the swing's width in px, and the lamp's height in px. |
| shadow / warmth | number · string | — | Shadow strength and the light's tint. |