Components / component

Footer Reveal

v1.0.0 · premium

The page slides up like a curtain and uncovers a footer that was waiting underneath.

Footer Reveal demo

Implementation

The page slides up like a curtain and uncovers a footer that was waiting underneath.

Framework
React 19.3.1 with TypeScript
Motion
Native CSS and browser APIs. No GSAP required.
Available modes
build
Version
1.0.0 · published

Source code

Download source ZIP
export function FooterReveal({ children, footer, ink, page, className }: {
  /** The page content. It needs to be taller than the screen for the footer to be revealed. */
  children: ReactNode;

Quality evidence

Export tested in 2 consumer projects with chromium, firefox, webkit. Evidence recorded on .

Changelog

v1.0.0 · The page slides up like a curtain and uncovers a footer that was waiting underneath.

Frequently asked questions

Does the footer reveal need JavaScript?

No. It uses position sticky only, so it costs nothing while scrolling.

Why does the page background need to be solid?

The page sheet covers the footer until it has slid away, so a see-through page would show the footer behind it.