Interactivity
Scroll Snap Stop
Utilities for controlling whether you can skip past possible snap positions.
Unsupported
This functionality is not yet supported! If you need this, reach out to us on #nmp-warp-design-system.
Quick reference
Class | Description |
---|---|
snap-normal | Unsupported |
snap-always | Unsupported |
Basic usage
Forcing snap position stops
Use the snap-always
utility together with the snap-mandatory
utility to force a snap container to always stop on an element before the user can continue scrolling to the next item.