fullPage.js builds one-page websites with fullscreen vertical sections and optional horizontal slides inside sections. It works with vanilla JavaScript or jQuery and has bindings for Vue, React, and Angular.
Overview
fullPage.js is a browser library that turns a page into vertically snapped fullscreen sections, with optional landscape sliders nested inside each section. It targets single-page and one-page scroll layouts where each viewport-sized panel advances on scroll, swipe, or keyboard input.
Sections use a defined HTML structure inside a wrapper element. You initialize the library with JavaScript or jQuery and can set anchors for deep links, control scroll speed and easing, enable looping, lazy-load media, and run callbacks on section or slide changes. State classes on the document reflect the active section and slide for styling.
Optional paid extensions add capabilities such as continuous horizontal scrolling and additional effects; those builds use a separate minified bundle and license keys. The project also lists WordPress plugins and themes that integrate the same scrolling behavior for non-coders.
Compared to raw CSS scroll snap, the library emphasizes consistent cross-browser wheel behavior, configurable snap timing, inner scrollable sections, URL anchors with history, and a programmatic API to move between sections and slides. Integrations exist for common JS frameworks and site builders.
Key features
- Vertical section snapping
- Horizontal slides per section
- Anchor URLs and deep links
- Lazy loading for media
- Scroll speed and easing options
- Looping and infinite scroll modes
- Vue, React, and Angular wrappers
- Callback hooks on navigation
Use cases
- Portfolio one-page sites
- Product landing narratives
- Fullscreen presentation microsites
- Marketing campaign scroll stories
- Agency deliverable layouts