Skip to content

No.567 · Backgrounds· New

Paper Strata

Layers of cut paper stacked like hills, each casting a soft shadow on the one behind. They drift sideways at different speeds and lean with the pointer, and the flat top of the section is an obvious place for a headline.

The prompt

Copy this text

Automatic copying is unavailable. Copy the selected text using your device’s copy command.

Written for the variant you picked above: Clay

Build a background of layered cut paper: six sheets stacked like a range of hills, each casting a soft shadow on the sheet behind it. No canvas; SVG and CSS only. Layout. The section is filled with a flat backdrop colour. The sheets occupy the lower part: the farthest sheet's edge sits 46% down the section and the nearest 90% down, the others evenly between. Everything above the hills is flat colour, kept for a headline. The number of sheets (3 to 7) and the horizon are options. A sheet. An SVG with viewBox 0 0 2000 600 and preserveAspectRatio none, 200% of the section's width. Its path runs along a top edge and closes along the bottom. The edge is three sines that repeat every 1,000 units: base + amplitude × (0.56·sin(a + p1) + 0.29·sin(2a + p2) + 0.15·sin(3a + p3)), where a = x / 1000 × 2π and the phases are fixed per sheet, sampled every 20 units. Amplitude falls from 62 units on the farthest sheet to 32 on the nearest. Because the edge repeats exactly once across half the SVG, sliding it left by 50% loops with no seam. Depth. Each SVG carries filter: drop-shadow(0 −7px 9px shadow), so every sheet shadows the one behind. Colours step from the lightest at the back to the darkest at the front. Motion. Each SVG animates transform: translateX(0 → −50%), linear, infinite. The farthest takes 190s and the nearest 100s; alternate sheets run in reverse; each starts 23s further into its cycle than the one before. The sheets also lean with the pointer: each wrapper translates by (−16px × depth × x, −9px × depth × y), with x and y the pointer's position from −1 to 1 and depth 0 at the back to 1 at the front, eased over 700ms; it returns to rest when the pointer leaves. Production behaviour: a children slot above the sheets; the sheets are aria-hidden. Under reduced motion, or with motion set to "still", stop the drift with every sheet offset by 18%, and ignore the pointer. Selected variant — Clay (clay): Colours: backdrop #f4e9db; sheets from back to front #efd3b6, #e6b48c, #d98f63, #c56c41, #a34d2c, #7a321d, #55200f; shadow rgb(70 30 10 / 0.3); text #3a1d10. Select it with the palette option set to "clay". This selection takes precedence over references to other themes or options in the general brief. Implement this selected appearance; do not add a variant picker or alternative appearances unless requested. Implementation requirements: Use React and TypeScript. Keep the component self-contained, with uniquely scoped CSS and no animation libraries. Include required imports, styles and font setup in the result. Interaction: Move the pointer: the nearest sheets lean the most. Motion: Each sheet drifts one full width in 100 to 190 seconds, alternating direction. Accessibility: Decorative and aria-hidden. The upper part of the section is flat colour, so text contrast does not change. Reduced motion holds the sheets still. Responsive behavior: Stretches to any size; shadows and stroke widths do not scale with it. Touch: The drift needs no input. Preserve keyboard access, visible focus and reduced-motion behavior. Keep fictional demo data and simulated service calls in a separate usage example; expose callbacks for real actions and recover from rejected requests. Keep usage-example links inside the demo: use local buttons or prevent navigation. Demonstration links must not navigate to Vitrine routes or open other pages; preserve real URL support in the reusable component itself. Verify the result at narrow and wide viewport sizes, with keyboard input and reduced motion enabled.

Notes

Interaction
Move the pointer: the nearest sheets lean the most.
Motion
Each sheet drifts one full width in 100 to 190 seconds, alternating direction.
Accessibility
Decorative and aria-hidden. The upper part of the section is flat colour, so text contrast does not change. Reduced motion holds the sheets still.
Responsive
Stretches to any size; shadows and stroke widths do not scale with it.
On touch
The drift needs no input.