Skip to content

Fold the
surface.

Physical 3D hinged primitives for shadcn/ui. Built on pure CSS perspective, dynamic crease lighting, and zero runtime dependencies.

0° HINGE
DRAGGABLE 3D SHEETFLAT

Grab the bottom edge and drag upward, or flick to snap.

Pointer capture tracks your drag past the hinge with soft boundary damping and dynamic top-edge crease lighting.

DRAG UP TO FOLD (OR FLICK)
POINTER CAPTURE + VELOCITY FLICKROTATEX(0° → -88°)
01 / 03

FoldDrawer

A toggleable 3D hinged sheet that collapses to exact auto-height, nests cleanly inside itself, and deepens its crease shadow as it closes.

DATE14 NOV
HALLEAST 04
SEATROW C · 12
Select session
02 / 03

ScrollFoldStack

Coordinates stacked header flaps to fold sequentially as you scroll: the exact primitive driving this page's masthead above.

MOTIONcos(θ) · P

Perspective Height Projection

Exact 3D projected bounds keep lower surfaces flush without clipping tilted edges.

LAYOUTResizeObserver

Zero-Jitter Sticky Spacer

Zero-height sticky wrapper paired with a constant spacer prevents scroll-anchoring loops.

SURFACESDynamic alpha

Directional Crease Shading

Top-edge shadow gradient deepens proportionally with fold angle across all four surfaces.

TYPOGRAPHYBricolage + Azeret

Optical Grotesque Pairing

Expressive display grotesque paired with geometric monospace telemetry.

MOTIONa11y native

Reduced Motion Parity

Honors prefers-reduced-motion across every primitive while keeping full state clarity.

SURFACESOKLCH tokens

Committed Color Worlds

Theme-neutral CSS variables adapt from Klein Cobalt to Matcha, Carbon, or Cyanotype.

LAYOUT0fr → 1fr

Auto-Height Grid Collapse

Smoothly collapses arbitrary dynamic content with zero hardcoded max-height limits.

MOTIONPassive listeners

Single rAF Scroll Spine

All scroll-linked hinges throttle to animation frames for sustained 60fps scrubbing.

Why physical hinges feel calmer than slide-ins

Most scroll reveals translate elements upward and fade opacity. A top-hinged fold anchors the leading edge to the document flow so new surfaces settle into place like a turned sheet rather than drifting in from nowhere.

Because rotation and crease shading tie directly to scroll position through a single passive rAF listener, scrubbing stays immediate with zero layout thrashing.

Scroll inside to unfold both sheets ↓

“When every surface obeys one physical rule, motion stops feeling like decoration and starts feeling like material.”

Sheet 01 · rotateX(70° → 0°)
Sheet 02

Drop straight into your registry

Works on window scrolling or any nested scroll container ref.

0% FLAT
03 / 03

ViewportUnfold

Starts hinged away below the viewport and smoothly flattens from 76° to 0° as it enters view, anchoring new surfaces like turned pages.

SHEET ANGLE76° → 0°
COMPOSITION 01

Cascading Pocket Map

Four chained FoldDrawer panels that ripple open top-down and collapse in reverse bottom-up order, with adjustable stagger timing and a live cross-section schematic.

4/4 UNFOLDED
STAGGER:
F0135.6580° N
North Concourse

Main glass atrium and ticket concourse. Elevators to Level 3.

F0235.6584° N
Paper Archive Hall

420 physical specimen bindings, letterpress matrices, and jigs.

F0335.6589° N
East Courtyard

Covered cedar walkway leading to the sculpture terrace.

F0435.6593° N
Observation Deck

Open-air timber deck overlooking the canal. Closes at dusk.

UNFOLDS TOP-DOWN · FOLDS BOTTOM-UP4× CHAINED FOLDDRAWER
COMPOSITION 02 · FULL INSTRUMENT

Playable MIDI Accordion

A 25-key chromatic treble keyboard and 24-button Stradella bass matrix connected by 10 horizontal FoldDrawer bellows. Pick a song, drop in any Standard MIDI (.mid) file, or plug in a USB MIDI keyboard.

REED:
TEMPO:
READY6/10 PLEATS
STRADELLA 24BASS
ROOTMAJMIN7TH
AIR PRESSURE60%
010°
020°
030°
040°
050°
060°
25 KEYSC4 – C6
25 CHROMATIC KEYS · 24 STRADELLA BASS · DROP OR LOAD ANY .MID FILE10× HORIZONTAL FOLDDRAWER BELLOWS