Paper Fold
A folded accordion card swings in, unfolds panel by panel in real 3D with light raking across each crease to reveal a poster spread, then folds itself shut.
Variables
Section titled “Variables”Theme an embed without editing the bit: put data-variable-values on the data-composition-src element, or bake new defaults into the installed copy with --set.
| Id | Type | Default | Label |
|---|---|---|---|
headline | string | "Unfold the story" | Headline |
label | string | "VOL. 03 / FOUR PANELS" | Label |
background | color | #100f0f | Background |
foreground | color | #f2f0e5 | Text |
accent | color | #ec8b49 | Accent |
<div data-composition-src="compositions/paper-fold.html" data-variable-values='{"headline":"Unfold the story","label":"VOL. 03 / FOUR PANELS","background":"#100f0f","foreground":"#f2f0e5","accent":"#ec8b49"}'></div>npx @av/hyperbits add paper-fold --into compositions/ --set "background=#0b1020"