Sticky Pages

Sticky Pages: A pure static full-page sticky stacking scroll component where pages slide up and stack cleanly one over another without any tilting or distortion, before releasing smoothly into natural page scrolling. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Sticky Pages

npx motion-ui-skill add sticky-pages

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • react
  • tailwind-merge

Source files

Sticky Pages

A pure static full-page sticky stacking scroll component where pages slide up and stack cleanly one over another without any tilting or distortion, before releasing smoothly into natural page scrolling.

Install

npx motion-ui-skill add sticky-pages

Dependencies

  • clsx
  • react
  • tailwind-merge

Usage

"use client";

import { StickyPages as StickyPages } from "@/components/craft/sticky-pages";

export function Example() {
  return (
    <div className="p-6">
      <StickyPages />
    </div>
  );
}

Browse this category