A
AstraWind
v0.2.0
System
Interactivity

scroll-snap-type

Utilities for controlling how strictly snap points are enforced in a snap container.

Quick reference

No native equivalent: these classes are accepted and ignored
Class
Styles
React Native
snap-both
scroll-snap-type: both var(--tw-scroll-snap-strictness);
No native equivalent
snap-mandatory
--tw-scroll-snap-strictness: mandatory;
No native equivalent
snap-none
scroll-snap-type: none;
No native equivalent
snap-proximity
--tw-scroll-snap-strictness: proximity;
No native equivalent
snap-x
scroll-snap-type: x var(--tw-scroll-snap-strictness);
No native equivalent
snap-y
scroll-snap-type: y var(--tw-scroll-snap-strictness);
No native equivalent
The React Native column is what AstraWind resolves each class to, computed live on this page with the current color scheme. Classes with no native equivalent are accepted without effect, and AstraWind warns about them in development. See Compatibility.