Skip to content

“Simple Scroll-Snap” is an elegantly designed, intuitive solution that allows for elements within a ScrollView to be snapped to, offering a wide range of customization options.

License

Notifications You must be signed in to change notification settings

daniellochner/simple-scroll-snap

Repository files navigation

Simple Scroll-Snap

"Simple Scroll-Snap" is an elegantly designed, intuitive solution that allows for elements within a ScrollView to be snapped to, offering a wide range of customization options.

Try out the demo here.

Features:

  • Fixed (Horizontal/Vertical) or Free movement system.
  • Optional Automatic Layout system.
  • Optional Infinite Scrolling system.
  • Navigate between panels using Swipe Gestures, a Pagination and/or Next and Previous buttons.
  • Easily implement Transition Effects (adjusting panels' scale, rotation, opacity etc.) using functions with respect to displacement from the center.
  • Change to snap to the Nearest, Previous or Next panel.
  • Define Threshold Swipe and Snap Speeds to best fit your requirements.
  • Assign methods to be invoked while a panel is being selected, is selected, is being changed or has changed.
  • Dynamically add/remove panels during runtime.
  • ... and much more!

Included:

  • Five example projects (macOS Finder (File Explorer), iOS Home Screen, Slot Machine, Pinned Map, Dynamic Content)
  • Ready-to-use prefabs (Scroll-Snap, Pagination)
  • In-depth offline documentation

Help:

In the event you are unable to find the information you are looking for or have found a bug, please raise an issue here or post a question in the Discord server.

About

“Simple Scroll-Snap” is an elegantly designed, intuitive solution that allows for elements within a ScrollView to be snapped to, offering a wide range of customization options.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages