No.333 · Footers
Curtain Footer
The page lifts away like a sheet at the end of the scroll, revealing the footer fixed underneath — a giant wordmark cropped by the bottom edge, rising as it's uncovered.
The prompt
The design brief behind this component — reuse it to regenerate, remix, or explain it.
Make the end of the page feel like lifting a sheet off something. The last section of the page (the 'sheet') sits on z-index 1 with rounded lower corners (clamp 1.25–2.25rem) and a deep shadow. Behind it, the footer is position: sticky; bottom: 0, so as you reach the end the sheet scrolls up and away to uncover it. Reveal progress (how much of the footer is uncovered, 0–1, rAF-throttled from the sheet's bottom edge) drives the footer's contents: link columns rise 24px and go from 25% to full opacity, and a giant Anton wordmark (clamp 6–20rem, a top-to-bottom fade of the ink colour clipped to the text) sits cropped by the bottom edge and rises as it's revealed. Works with the window or a passed scroll container. 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: Scroll to the bottom; the page lifts off to reveal the footer and the wordmark rises into view. Motion: Scroll-linked (no timers): opacity, translate of the columns and wordmark from a reveal variable. Accessibility: A real <footer> with labelled navs; the wordmark is decorative. Reduced motion shows the footer at rest. Responsive behavior: Columns auto-fit (min 9rem); the wordmark scales with the viewport and is always cropped at the bottom. Touch: Works with touch scrolling. 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
- Scroll to the bottom; the page lifts off to reveal the footer and the wordmark rises into view.
- Motion
- Scroll-linked (no timers): opacity, translate of the columns and wordmark from a reveal variable.
- Accessibility
- A real <footer> with labelled navs; the wordmark is decorative. Reduced motion shows the footer at rest.
- Responsive
- Columns auto-fit (min 9rem); the wordmark scales with the viewport and is always cropped at the bottom.
- On touch
- Works with touch scrolling.