Documentation

Component: FullPage Full-screen sections + optional bullets + switch effects

This component adds full-screen (section-by-section) scrolling. By default each section takes at least the full viewport height, and the page scroll “snaps” through sections. You can enable bullets navigation and switch transition effects.

Overview

The FullPage component creates a “screen-by-screen” scroll experience. You split the page into sections, and the component handles switching between them. Optionally, you can add bullets for navigation and choose a transition effect.

Best use cases
Presentations, landing pages, portfolios, storytelling pages, and any UI where you want clear section-based navigation.

Component location

Files are located in src/components/layout/fullpage. Inside you’ll find:

  • JS file with the full-page scroll logic.
  • HTML example snippet.
  • SCSS file for styling and effects.

Basic usage

Add data-anim-fullpage to the wrapper and data-anim-fullpage-section to each section.

FullPage — minimal markup

<div data-anim-fullpage class="some-class">
	<div data-anim-fullpage-section class="some-class__section"> ... </div>
	<div data-anim-fullpage-section class="some-class__section"> ... </div>
</div>
Tip
Each section should be a clean, self-contained block. Use consistent spacing and avoid huge nested scroll areas inside sections unless you really need them.

Bullets navigation

To add bullets (section switch buttons), add the attribute data-anim-fullpage-bullets to the FullPage wrapper.

FullPage — bullets enabled

<div data-anim-fullpage data-anim-fullpage-bullets class="some-class">
	<div data-anim-fullpage-section class="some-class__section"> ... </div>
	<div data-anim-fullpage-section class="some-class__section"> ... </div>
</div>

Switch effects

To change the transition effect, add data-anim-fullpage-effect to the wrapper. Supported values: slider (default), fade, cards.

FullPage — fade effect example

<div data-anim-fullpage data-anim-fullpage-effect="fade" class="some-class">
	<div data-anim-fullpage-section class="some-class__section"> ... </div>
	<div data-anim-fullpage-section class="some-class__section"> ... </div>
</div>
Note
Effects may require different styling for best visuals. Check the component SCSS and adjust section backgrounds, spacing, and overflow as needed.

Download

Build full-screen scrolling pages with sections, bullets navigation, and smooth effects. Download the template and start faster.