> For the complete documentation index, see [llms.txt](https://sercan-altundas.gitbook.io/asset-store/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sercan-altundas.gitbook.io/asset-store/ui-components/scroll-snap.md).

# Scroll Snap

Scroll Snap UI Component Documentation

![](https://1300543714-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbMsjLrh9Qld4Ta1Xym%2F-MbRxM2Mecr3AwDFwXl5%2F-MbS-BpIJeozLWs2IYZh%2FSocial.png?alt=media\&token=a1a85653-c35a-4625-9a3d-8fe6abef95be)

**Scroll Snap** is a focused UI component that helps you create an equally sized page-based scroll area.

The main point of **Scroll Snap** is to look, work and feel like a native Unity component that gives you fundamental functionality and makes it easy to build upon.

You can buy it at [Unity Asset Store](http://u3d.as/2A2H)

## Usage

You can create a ScrollSnap item already prepared for basic use just like any other Unity UI component. You can **right-click** in the **Hierarchy** window, **select UI,** and then **Scroll Snap** to create a ready-to-use object.

Alternatively, you can add it to your UI game object from the **Components/UI/ScrollSnap** menu.

<div align="center"><img src="https://1300543714-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbMsjLrh9Qld4Ta1Xym%2F-MbNBsD4TxzDFi515X_1%2F-MbNFhyfvw89nLXLXem6%2FScrollSnap.gif?alt=media&amp;token=077e7d73-d4db-4624-8f6d-2221da5f2d3d" alt=""></div>

## Features

* Simple, generalized, and well-documented code and UI.
* Infinite Scroll ability.
* 6 demo scenes with different use cases.
* Horizontal and Vertical scroll ability, supported by swipe gestures and buttons.
* Left/Right and Top/Bottom alignment.
* UI Gizmos to display immediate feedback about variable changes.
* Runtime layout change. Helps you add or remove pages in play mode.
* Scroll out of the first and the last page within a given margin for elasticity.
* Custom scroll activation area to decide how early snap can be activated.
* Snap speed from slow to immediate page change.
* Page Changed event for notifying subjects.

## Changelog

### 05.06.2021 - Initial Release
